when: instance: ci.kokuwa.io repo: woodpecker/buildctl event: [manual, push, pull_request] branch: main path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh] steps: buildd: image: kokuwaio/buildctl:v0.21.0 pull: true commands: echo $AUTH | base64 -w0 environment: AUTH: {from_secret: AUTH} build: image: kokuwaio/buildctl:v0.21.0 pull: true depends_on: [] settings: &settings name: registry.kokuwa.io/buildctl:$CI_PIPELINE_NUMBER auth: docker.io: username: {from_secret: docker_io_username} password: {from_secret: docker_io_password} ghcr.io: username: {from_secret: ghcr_io_username} password: {from_secret: ghcr_io_password} registry.kokuwa.io: username: {from_secret: kokuwa_io_username} password: {from_secret: kokuwa_io_password} 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/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: 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 pull: true settings: <<: *settings name: - 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 auth: docker.io: username: {from_secret: docker_io_username} password: {from_secret: docker_io_password} ghcr.io: username: {from_secret: ghcr_io_username} password: {from_secret: ghcr_io_password} registry.kokuwa.io: username: {from_secret: kokuwa_io_username} password: {from_secret: kokuwa_io_password} # when: # event: [manual, push] # branch: main