woodpecker-ansible-runner/.woodpecker.yml

32 lines
901 B
YAML
Raw Normal View History

2022-12-18 16:18:24 +01:00
pipeline:
# build-only:
# image: woodpeckerci/plugin-docker-buildx
# settings:
# username:
# from_secret: harbor_username
# password:
# from_secret: harbor_password
# repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
# cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
# registry: harbor.sebclem.fr
# dry_run: true
# when:
# event: [push, pull_request, manual]
build-and-push:
image: woodpeckerci/plugin-docker-buildx:2.0
settings:
username:
from_secret: harbor_username
password:
from_secret: harbor_password
repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
registry: harbor.sebclem.fr
2022-12-18 20:00:06 +01:00
auto_tag: true
2022-12-18 16:18:24 +01:00
tags: latest
2022-12-18 19:58:03 +01:00
tag: latest
2022-12-18 16:18:24 +01:00
# when:
# environment: production
# event: deployment