Skip to content

Commit

Permalink
Updated condition on gcr push
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaNaithani committed Jan 31, 2024
1 parent 7fbbc45 commit 0e912e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
echo "VERSION=${VERSION:1}-${{ github.run_number }}" >> "${GITHUB_OUTPUT}"
fi
- name: Build and Push to GCR
if: (github.ref == 'refs/heads/develop') || contains(github.ref_name, '^v.*')
if: ${{ github.ref_name == 'develop' || startsWith(github.ref, 'refs/tags/v') }}
id: build_push_gcr
uses: RafikFarhad/push-to-gcr-github-action@v5-beta
with:
Expand Down

0 comments on commit 0e912e6

Please sign in to comment.