Skip to content

Commit 0e912e6

Browse files
committed
Updated condition on gcr push
1 parent 7fbbc45 commit 0e912e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
echo "VERSION=${VERSION:1}-${{ github.run_number }}" >> "${GITHUB_OUTPUT}"
117117
fi
118118
- name: Build and Push to GCR
119-
if: (github.ref == 'refs/heads/develop') || contains(github.ref_name, '^v.*')
119+
if: ${{ github.ref_name == 'develop' || startsWith(github.ref, 'refs/tags/v') }}
120120
id: build_push_gcr
121121
uses: RafikFarhad/push-to-gcr-github-action@v5-beta
122122
with:

0 commit comments

Comments
 (0)