diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index d9383398da..7a5ff08bb7 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -34,7 +34,7 @@ jobs: tags: | type=sha type=ref,event=tag - ${{ github.event_name == 'push' ? 'type=raw,value=main' : '' }} + ${{ github.event_name == 'push' && 'type=raw,value=main' || '' }} - uses: docker/build-push-action@v2 with: