Skip to content

Commit bdf52a0

Browse files
committed
Add doc comments
1 parent bc17f1a commit bdf52a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/helm-build-push.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
# We mark any builds on main branch as latest GH release
23+
# so make sure we don't accidentally use a pre-release tag.
2224
- name: Fail on semver pre-release chart version
2325
run: yq .version deployment/helm/Chart.yaml | grep -v '[a-zA-Z-]'
2426
if: ${{ github.ref_name == 'main'}}
2527

28+
# To reduce resource usage images are built only on tag.
29+
# To build a new set of images after committing and pushing
30+
# new changes to GitHub, use:
31+
# git tag <tag-name>
32+
# git push --tags
2633
- name: Fail if image tags don't exist
2734
run: >-
2835
curl -H "Authorization: Bearer $(echo ${{ secrets.GITHUB_TOKEN }} | base64)"

0 commit comments

Comments
 (0)