Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/helm-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ jobs:
fetch-depth: 0

# We mark any builds on main branch as latest GH release
# so make sure we don't accidentally use a pre-release tag.
# so make sure we don't accidentally publiah a pre-release tag
# on main or a stable tag on a dev branch.

- name: Fail on semver pre-release chart version
run: yq .version deployment/helm/Chart.yaml | grep -v '[a-zA-Z-]'
if: ${{ github.ref_name == 'main' }}

- name: Fail on stable semver chart version
run: yq .version deployment/helm/Chart.yaml | grep '[a-zA-Z-]'
if: ${{ github.ref_name != 'main' }}

# To reduce resource usage images are built only on tag.
# To build a new set of images after committing and pushing
# new changes to GitHub, use:
Expand Down