From 1e43784d4c0b86062467e5e4218744b51cc48cfa Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Thu, 28 Oct 2021 23:04:07 +0900 Subject: [PATCH] Change the sort of image push. --- .github/workflows/image-push-master.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/image-push-master.yml b/.github/workflows/image-push-master.yml index 48da13c5c..441225724 100644 --- a/.github/workflows/image-push-master.yml +++ b/.github/workflows/image-push-master.yml @@ -209,6 +209,11 @@ jobs: if: github.repository_owner == 'k8snetworkplumbingwg' run: | # get artifacts from previous steps + docker pull ${{ env.REPOSITORY }}:thick-amd64 + docker manifest create ${{ env.REPOSITORY }}:thick ${{ env.REPOSITORY }}:thick-amd64 + docker manifest annotate ${{ env.REPOSITORY }}:thick ${{ env.REPOSITORY }}:thick-amd64 --arch amd64 + docker manifest push ${{ env.REPOSITORY }}:thick + docker pull ${{ env.REPOSITORY }}:snapshot-amd64 docker pull ${{ env.REPOSITORY }}:snapshot-arm64 docker pull ${{ env.REPOSITORY }}:snapshot-arm32 @@ -233,8 +238,3 @@ jobs: docker manifest annotate ${{ env.REPOSITORY }}:latest ${{ env.REPOSITORY }}:latest-ppc64le --arch ppc64le docker manifest annotate ${{ env.REPOSITORY }}:latest ${{ env.REPOSITORY }}:latest-s390x --arch s390x docker manifest push ${{ env.REPOSITORY }}:latest - - docker pull ${{ env.REPOSITORY }}:thick-amd64 - docker manifest create ${{ env.REPOSITORY }}:thick ${{ env.REPOSITORY }}:thick-amd64 - docker manifest annotate ${{ env.REPOSITORY }}:thick ${{ env.REPOSITORY }}:thick-amd64 --arch amd64 - docker manifest push ${{ env.REPOSITORY }}:thick