From 65866ea3b60906d60c4c7aa22b51333cb906c839 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Tue, 25 Oct 2022 15:58:32 -0700 Subject: [PATCH] Enable auto-update of Infrastructure --- .drone.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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