From b958a8533cb1c948e94808071e4b6bd03b137b62 Mon Sep 17 00:00:00 2001 From: oguzkaganozt Date: Wed, 14 Feb 2024 21:33:28 +0300 Subject: [PATCH] Fix latest conditional Signed-off-by: oguzkaganozt --- .github/actions/docker-build-and-push/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index 54a57ce7f8a..37ae0061e53 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -78,7 +78,7 @@ runs: tags: ${{ steps.set-docker-tags.outputs.tags }} bake-target: docker-metadata-action-runtime flavor: | - latest="${{ github.event_name }}" == "workflow_dispatch" and -n "${{ inputs.release_version }}" + latest: ${{ github.event_name == 'workflow_dispatch' && inputs.release_version != '' }} suffix=-runtime${{ inputs.tag-suffix }} - name: Login to GitHub Container Registry