woodpecker-docker-buildx/.woodpecker/main.yml
2022-02-26 00:03:49 +01:00

24 lines
515 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