From ffd72ccb7f8f9f1e04a05ebc496cc9f87722a2e7 Mon Sep 17 00:00:00 2001 From: this-is-tobi Date: Thu, 6 Mar 2025 23:33:01 +0100 Subject: [PATCH] ci: fix latest tag handling on image build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49ed5ed..6fc3039 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -199,7 +199,7 @@ jobs: type=raw,value=${{ steps.image-tags.outputs.MAJOR_TAG }}.${{ steps.image-tags.outputs.MINOR_TAG }}.${{ steps.image-tags.outputs.PATCH_TAG }},enable=true type=raw,value=${{ steps.image-tags.outputs.MAJOR_TAG }}.${{ steps.image-tags.outputs.MINOR_TAG }},enable=true type=raw,value=${{ steps.image-tags.outputs.MAJOR_TAG }},enable=true - type=raw,value=latest,enable=true + type=raw,value=latest,enable=${{ matrix.images.build.latest && true || false }} - name: Create manifest list and push if: ${{ steps.image-status.outputs.IMAGE_STATUS == '404' }}