Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@scubbo
Created January 10, 2023 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scubbo/ced55707826cee772e6095320ab4adec to your computer and use it in GitHub Desktop.
Save scubbo/ced55707826cee772e6095320ab4adec to your computer and use it in GitHub Desktop.
.drone.yml for failing build
kind: pipeline
name: deploy-mix256
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/mix256-site
tags: ${DRONE_COMMIT_SHA:0:10}
debug: true
launch_debug: true
username: scubbo
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/mix256-infrastructure
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
image_pull_secrets:
- dockerconfigjson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment