fix push expression

- make use of `github.ref_type`
This commit is contained in:
mauwii 2023-03-05 02:58:13 +01:00
parent 82fe34b1f7
commit 7c0ce5c282
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -91,7 +91,7 @@ jobs:
context: .
file: ${{ env.DOCKERFILE }}
platforms: ${{ env.PLATFORMS }}
push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' }}
push: ${{ github.ref == 'refs/heads/main' || github.ref_type == 'tag' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: PIP_EXTRA_INDEX_URL=${{ matrix.pip-extra-index-url }}