ci/woodpecker/push/plugins Pipeline was successful
Die Liste vergleicht mit Tag exakt, :6.1.2 liefe nicht privilegiert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
975 B
YAML
34 lines
975 B
YAML
# Builds the plugins in woodpecker/<name>/. A tag <name>-vX.Y.Z pushes
|
|
# git.uesome.de/actions/ci-cd/<name>:vX.Y.Z; pushes and PRs only test the build.
|
|
when:
|
|
- event: [push, pull_request]
|
|
path: 'woodpecker/deploy/**'
|
|
- event: tag
|
|
ref: refs/tags/deploy-v*
|
|
|
|
steps:
|
|
- name: deploy-plugin-check
|
|
image: woodpeckerci/plugin-docker-buildx:6
|
|
settings:
|
|
repo: git.uesome.de/actions/ci-cd/deploy
|
|
context: woodpecker/deploy
|
|
dockerfile: woodpecker/deploy/Dockerfile
|
|
dry_run: true
|
|
when:
|
|
event: [push, pull_request]
|
|
|
|
- name: deploy-plugin
|
|
image: woodpeckerci/plugin-docker-buildx:6
|
|
settings:
|
|
registry: git.uesome.de
|
|
repo: git.uesome.de/actions/ci-cd/deploy
|
|
context: woodpecker/deploy
|
|
dockerfile: woodpecker/deploy/Dockerfile
|
|
tags: ${CI_COMMIT_TAG##deploy-}
|
|
username:
|
|
from_secret: registry_username
|
|
password:
|
|
from_secret: registry_password
|
|
when:
|
|
event: tag
|