Enable auto-update of Infrastructure

This commit is contained in:
Jack Jackson 2022-10-25 15:58:32 -07:00
parent 9b6b005ca3
commit 65866ea3b6

View File

@ -15,4 +15,21 @@ steps:
tags: ${DRONE_COMMIT_SHA:0:10}
username: scubbo
password:
from_secret: gitea_password
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