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