Files
mtgc/.woodpecker/builder.yaml

24 lines
695 B
YAML
Raw Normal View History

# Build and push the image the other pipelines run in, from ci/builder.
#
# Trigger: open any pipeline for this repo in Woodpecker, click "Deploy", and
# set the deploy target to `builder`.
when:
- event: deployment
evaluate: 'CI_PIPELINE_DEPLOY_TARGET == "builder"'
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx:6.1.1
settings:
registry: registry.apps.millslan.net
repo: registry.apps.millslan.net/garrettmills/mtgc-builder
tags: latest
platforms: linux/amd64
context: ci/builder
dockerfile: ci/builder/Dockerfile
username:
from_secret: registry_username
password:
from_secret: registry_password