Experiment with auto-helm-update

This commit is contained in:
Jack Jackson 2024-07-01 22:15:09 -07:00
parent 624ef62345
commit f0bdddd060

View File

@ -26,4 +26,16 @@ steps:
platforms:
- linux/arm64
- linux/amd64
# TODO - use kustomize to update the deployed image.
- name: Checkout Helm Chart
image: drone/git
settings:
remote: gitea.scubbo.org/scubbo/helm-charts
- name: Update Helm Chart
image: alpine
commands:
- apk add yq git
- cd helm-charts
- yq -i '.image.tag = "${DRONE_COMMIT_SHA:0:10}"' charts/edh-elo/values.yaml
- git add -A
- git commit -m "Update EDH ELO commit to "${DRONE_COMMIT_SHA:0:10}"
- git push