31 lines
912 B
YAML
31 lines
912 B
YAML
kind: pipeline
|
|
name: auto-repo-update-drone-plugin
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: push-built-image
|
|
image: plugins/docker
|
|
settings:
|
|
registry: gitea.scubbo.org
|
|
repo: gitea.scubbo.org/scubbo/auto-update-test-app-code
|
|
tags: ${DRONE_COMMIT_SHA:0:10}
|
|
username: scubbo
|
|
password:
|
|
from_secret: gitea_password
|
|
- name: auto-update-infra-repo
|
|
image: gitea.scubbo.org/scubbo/auto-repo-update-drone-plugin:latest
|
|
settings:
|
|
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
|
|
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 |