Skip to content

Commit

Permalink
ci - reorder tagging so latest is the newest
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu authored Nov 2, 2024
1 parent 87db24f commit 23a9e20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create and push manifest
run: |
docker manifest create ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest-amd64 \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest-arm64
docker manifest create ${{ secrets.DOCKERHUB_USERNAME }}/ngen:${{ github.event.release.tag_name }} \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:${{ github.event.release.tag_name }}-amd64 \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:${{ github.event.release.tag_name }}-arm64
docker manifest push ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest
docker manifest create ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest-amd64 \
--amend ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest-arm64
docker manifest push ${{ secrets.DOCKERHUB_USERNAME }}/ngen:${{ github.event.release.tag_name }}
docker manifest push ${{ secrets.DOCKERHUB_USERNAME }}/ngen:latest

0 comments on commit 23a9e20

Please sign in to comment.