diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-docker-image.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
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 }} |
