From 23a9e20ae6066f4bc0a89b784ce9ce859d933e60 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Fri, 1 Nov 2024 20:16:10 -0500 Subject: [PATCH] ci - reorder tagging so latest is the newest --- .github/workflows/build-and-push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 228ca5b..1b5dc59 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -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