diff --git a/.drone.yml b/.drone.yml index 6771814..9450277 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,6 +42,9 @@ steps: - name: Update Helm Chart image: alpine + environment: + GITEA_PASSWORD: + from_secret: gitea_password commands: # Cannot use `drone/git` plugin because: # * it cannot check out to a different directory @@ -51,7 +54,7 @@ steps: - find . -not -path '.' | xargs rm -rf - find . -not -path '.' - apk add yq git - - git clone https://gitea.scubbo.org/scubbo/helm-charts.git + - git clone https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git - cd helm-charts - yq -i '.image.tag = "${DRONE_COMMIT_SHA:0:10}"' charts/edh-elo/values.yaml - git add -A