diff options
| author | Mister_X <MisterX2000@users.noreply.github.com> | 2025-04-02 01:55:17 +0200 |
|---|---|---|
| committer | Mister_X <MisterX2000@users.noreply.github.com> | 2025-04-02 01:55:17 +0200 |
| commit | 2a31c18c51e1fc8a1428f3fbee447af137679f0f (patch) | |
| tree | 29a8d09a57accf68653e05e674520c06eeed7d16 | |
| parent | a44152c4c5cb8670ddc053f8d29f506bc5b3ac46 (diff) | |
fix action
| -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 }} |
