24 lines
521 B
YAML
24 lines
521 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
|
|
dockerfile: Dockerfile
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
when:
|
|
event: [push, tag]
|
|
branch: main, cron |