git-next/.woodpecker/docker.yml
Paul Campbell ac37e9e199 build(woodpecker): run on cron and push to main
Also removed sha hash from some docker images.
2024-04-07 17:27:05 +01:00

20 lines
547 B
YAML

# INFO: https://woodpecker-ci.org/plugins/Docker%20Buildx
steps:
docker-build:
when:
- event: tag
ref: refs/tags/v*
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