Experiment with auto-helm-update
This commit is contained in:
parent
624ef62345
commit
f0bdddd060
14
.drone.yml
14
.drone.yml
@ -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
|
Loading…
x
Reference in New Issue
Block a user