We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ca3168 commit 55743bdCopy full SHA for 55743bd
.github/workflows/build-and-push-docker-image.yml
@@ -55,4 +55,4 @@ jobs:
55
file: docker/Dockerfile.prod
56
tags: ${{ steps.meta.outputs.tags }}
57
labels: ${{ steps.meta.outputs.labels }}
58
- push: ${{ startsWith(github.ref, 'refs/tags/v') || endsWith(github.ref, '/stage') || endsWith(github.ref, '/prod') }}
+ push: ${{ github.ref == 'refs/heads/stage' || github.ref == 'refs/heads/prod' || startsWith(github.ref, 'refs/tags/v') }}
0 commit comments