Skip to content

Commit

Permalink
Merge 99bd8e4 into f9a5d2f
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdoherty4 authored May 13, 2023
2 parents f9a5d2f + 99bd8e4 commit 784a3d5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Install skopeo
run: |
apk update
apk add skopeo
- uses: docker/setup-buildx-action@v2

- name: Tag and push
run: |
LATEST_RELEASE=$(curl -H "Accept: application/json" https://api.github.com/repos/tinkerbell/hegel/releases/latest | jq .name -r)
skopeo copy docker://${{ env.IMAGE }}:$LATEST_RELEASE docker://${{ env.IMAGE }}:latest
docker buildx imagetools create --tag ${{ env.IMAGE }}:latest ${{ env.IMAGE }}:$LATEST_RELEASE

0 comments on commit 784a3d5

Please sign in to comment.