This commit is contained in:
Stephan Schnabel 2025-06-07 16:55:01 +02:00
parent f09b6486f9
commit db4412c876
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
10 changed files with 89 additions and 85 deletions

View file

@ -1,20 +1,43 @@
when:
instance: ci.kokuwa.io
repo: woodpecker/buildctl
event: [manual, push, pull_request]
branch: main
path: [.woodpecker/build.yaml, .woodpecker/push.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
steps:
build:
image: kokuwaio/buildctl
settings:
name: registry.kokuwa.io/yamllint:$CI_PIPELINE_NUMBER
annotations:
org.opencontainers.image.title: Yamllint Plugin"
image: kokuwaio/buildctl:v0.21.0
settings: &settings
name: registry.kokuwa.io/buildctl:$CI_PIPELINE_NUMBER
auth1: {from_secret: AUTH}
platform: [linux/amd64, linux/arm64]
annotation:
org.opencontainers.image.title: Buildctl Plugin
org.opencontainers.image.description: A Woodpecker CI plugin for yamllint to lint yaml files.
org.opencontainers.image.url: $CI_REPO_URL
org.opencontainers.image.documentation: $CI_REPO_URL
org.opencontainers.image.documentation: $CI_REPO_URL/README.md
org.opencontainers.image.source: $CI_REPO_CLONE_URL
org.opencontainers.image.revision: $CI_COMMIT_SHA
org.opencontainers.image.vendor: kokuwa.io
org.opencontainers.image.licenses: GPL-3.0-or-later
org.opencontainers.image.licenses: EUPL-1.2
org.opencontainers.image.ref.name: kokuwaio/buildctl
org.opencontainers.image.version: v0.21.0
when:
event: pull_request
push:
image: kokuwaio/buildctl:v0.21.0
settings:
<<: *settings
names:
- registry.kokuwa.io/buildctl:latest
- registry.kokuwa.io/buildctl:v0.21.0
- docker.io/kokuwaio/buildctl:latest
- docker.io/kokuwaio/buildctl:v0.21.0
- ghcr.io/kokuwaio/buildctl:latest
- ghcr.io/kokuwaio/buildctl:v0.21.0
when:
event: [manual, push]
branch: main