25 lines
540 B
YAML
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
|