git-next/.woodpecker/docker.yml

21 lines
587 B
YAML

# INFO: https://woodpecker-ci.org/plugins/Docker%20Buildx
steps:
docker-build:
image: docker.io/woodpeckerci/plugin-docker-buildx:3.2.1
settings:
username: kemitix
repo: git.kemitix.net/kemitix/git-next
dockerfile: Dockerfile
build_args:
- CARGO_PROFILE=release
- CARGO_TARGET=release
auto_tag: true
dry-run: false # push to remote repo
registry: git.kemitix.net
password:
from_secret: woodpecker-docker-push
when:
- event: push
branch: main
- event: tag
ref: refs/tags/v*