woodpecker-docker-buildx/.woodpecker/main.yml
2022-08-29 23:10:24 +02:00

25 lines
540 B
YAML

pipeline:
dryrun:
image: plugins/kaniko
settings:
repo: woodpeckerci/plugin-docker-buildx
tags: latest
dockerfile: Dockerfile
no_push: true
when:
event: pull_request
publish:
image: plugins/kaniko
settings:
repo: woodpeckerci/plugin-docker-buildx
tags: latest, ${CI_COMMIT_TAG}
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: [push, tag, cron]
branch: main