markdownlint/.woodpecker/test.yaml

34 lines
714 B
YAML

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