Skip to content

Commit aa40c2b

Browse files
committed
fix conditional in docker push workflow
1 parent 3b6313a commit aa40c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_and_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
uses: docker/build-push-action@v2
7777
with:
7878
context: .
79-
push: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v*')) }}
79+
push: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
8080
tags: ghcr.io/pelotech/jsonnet-controller:${{ steps.version.outputs.tag }}
8181
cache-from: type=local,src=/tmp/.buildx-cache
8282
cache-to: type=local,dest=/tmp/.buildx-cache-new

0 commit comments

Comments
 (0)