woodpecker-docker-buildx/.woodpecker/main.yml

31 lines
710 B
YAML
Raw Normal View History

branches: main
variables:
- &platforms 'linux/amd64,linux/arm64'
2021-10-13 03:40:58 +00:00
pipeline:
dryrun:
image: woodpeckerci/plugin-docker-buildx:v20.10.18
settings:
platforms: *platforms
repo: woodpeckerci/plugin-docker-buildx
dockerfile: Dockerfile.multiarch
dry_run: true
when:
event: pull_request
2021-10-13 03:40:58 +00:00
publish:
image: woodpeckerci/plugin-docker-buildx:v20.10.18
2021-12-18 11:33:30 +00:00
settings:
platforms: *platforms
2021-12-18 11:33:30 +00:00
repo: woodpeckerci/plugin-docker-buildx
2022-09-28 01:17:55 +00:00
auto_tag: true
dockerfile: Dockerfile.multiarch
2021-12-18 19:49:55 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
2022-08-29 21:10:24 +00:00
event: [push, tag, cron]
branch: main