buildctl/.woodpecker/test.yaml
Stephan Schnabel 7be58a9b5b
Some checks failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test/1 Pipeline failed
ci/woodpecker/pr/test/2 Pipeline failed
1
2025-06-12 14:34:02 +02:00

47 lines
986 B
YAML

when:
instance: ci.kokuwa.io
repo: woodpecker/buildctl
event: [manual, push, pull_request]
branch: main
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
depends_on: [build]
skip_clone: true
matrix:
PLATFORM: [amd64, arm64]
labels:
platform: linux/${PLATFORM}
steps:
pr:
image: registry.kokuwa.io/kokuwaio/buildctl:ci-${CI_PIPELINE_NUMBER}
pull: true
commands:
- ls -lA
- pwd
when:
event: pull_request
pr2:
image: registry.kokuwa.io/kokuwaio/buildctl:ci-${CI_PIPELINE_NUMBER}
pull: true
commands: buildctl --version
when:
event: pull_request
kokuwa.io: &version
image: registry.kokuwa.io/kokuwaio/buildctl:latest
pull: true
commands: buildctl --version
when:
event: [manual, push]
branch: main
docker.io:
image: docker.io/kokuwaio/buildctl:latest
<<: *version
ghcr.io:
image: ghcr.io/kokuwaio/buildctl:latest
<<: *version