diff --git a/.drone.yml b/.drone.yml index b47a6d5..f8827cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,4 +15,21 @@ steps: tags: ${DRONE_COMMIT_SHA:0:10} username: scubbo password: - from_secret: gitea_password \ No newline at end of file + from_secret: gitea_password + - name: auto-update-infra-repo + image: gitea.scubbo.org/scubbo/auto-repo-update-drone-plugin:latest + settings: + branch: main + git_repo: https://gitea.scubbo.org/scubbo/auto-update-test-infra-code + image_tag: ${DRONE_COMMIT_SHA:0:10} + destination_file: helm/deployed-images/prod + author_email: scubbojj@gmail.com + author_name: Jack Jackson + commit_message: "[Auto] Update Prod to ${DRONE_COMMIT_SHA:0:10}" + access_token: + from_secret: gitea_pat + +# This allows pulling from my private image registry (at gitea.scubbo.org) +# https://community.harness.io/t/how-to-pull-private-images-with-1-0/11329 +image_pull_secrets: + - dockerconfigjson \ No newline at end of file