woodpecker-ansible-runner/.woodpecker.yml
SebClem 73a6f9b904
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Test woodpecker
2022-12-18 19:24:55 +01:00

31 lines
794 B
YAML

pipeline:
build-only:
image: woodpeckerci/plugin-docker-buildx
settings:
username:
from_secret: harbor_username
password:
from_secret: harbor_password
repo: harbor.sebclem.fr/${CI_REPO}
cache_from: harbor.sebclem.fr/${CI_REPO}
registry: harbor.sebclem.fr
dry_run: true
tag: latest
when:
event: [push, pull_request, manual]
build-and-push:
image: woodpeckerci/plugin-docker-buildx
settings:
username:
from_secret: harbor_username
password:
from_secret: harbor_password
repo: harbor.sebclem.fr/${CI_REPO}
cache_from: harbor.sebclem.fr/${CI_REPO}
registry: harbor.sebclem.fr
auto_tag: true
when:
environment: production
event: deployment