From 2a31c18c51e1fc8a1428f3fbee447af137679f0f Mon Sep 17 00:00:00 2001 From: Mister_X Date: Wed, 2 Apr 2025 01:55:17 +0200 Subject: fix action --- .github/workflows/build-docker-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index c6ebf5f63..d7048047b 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -38,7 +38,7 @@ jobs: flavor: | latest=auto prefix= - suffix=${{ matrix.tag == '' && '' || format('-{0}', matrix.tag)}} + suffix=${{ matrix.tag != '' && format('-{0}', matrix.tag) || '' }} tags: | type=schedule type=ref,event=branch @@ -66,7 +66,7 @@ jobs: uses: docker/build-push-action@v6 with: # Use "Dockerfile" if matrix.tag is empty, otherwise use "Dockerfile.{tag}" - file: docker/Dockerfile${{ matrix.tag == '' && '' || format('.{0}', matrix.tag) }} + file: docker/Dockerfile${{ matrix.tag != '' && format('.{0}', matrix.tag) || '' }} platforms: ${{ matrix.platforms }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} -- cgit v1.2.3