From db8738d451db151565bcffa89ecad98388f84f7b Mon Sep 17 00:00:00 2001 From: banditopazzo Date: Thu, 15 Feb 2024 17:21:35 +0100 Subject: [PATCH] fix(ci): latest container image push on tag --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f5a80ce5..246619bc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -241,8 +241,8 @@ jobs: - name: Push to latest if: github.ref_type == 'tag' run: | - docker tag ${{ env.REGISTRY_IMAGE }}:${{ env.REGISTRY_TAG }} ${{ env.REGISTRY_IMAGE }}:latest - docker push ${{ env.REGISTRY_IMAGE }}:latest + docker buildx imagetools create -t ${{ env.REGISTRY_IMAGE }}:latest \ + $(docker image ls --format '{{.Repository}}:{{.Tag}}' '${{ env.TMP_LOCAL_IMAGE }}' | tr '\n' ' ') - name: Inspect image run: |