docker/.woodpecker/build.yaml
Stephan Schnabel 3619dcf312
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/test/1 unknown status
ci/woodpecker/pr/test/2 unknown status
1
2025-06-19 14:12:35 +02:00

67 lines
2.2 KiB
YAML

when:
instance: ci.kokuwa.io
repo: woodpecker/dockerd
event: [manual, push, pull_request]
branch: main
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
services:
- name: dockerd
image: kokuwaio/dockerd
ports: [2375]
steps:
info:
image: kokuwaio/docker-cli
commands: docker info
environment:
DOCKER_HOST: tcp://dockerd:2375
build:
image: kokuwaio/buildctl
settings: &settings
name: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}
auth:
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: Docker Daemon WoodpeckerCI Plugin
org.opencontainers.image.description: Docker daemon for usage in WoodpeckerCI.
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/dockerd
org.opencontainers.image.version: 28.1.1
when:
event: pull_request
push:
image: kokuwaio/buildctl
settings:
<<: *settings
name:
- registry.kokuwa.io/kokuwaio/dockerd:latest
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1
- docker.io/kokuwaio/dockerd:latest
- docker.io/kokuwaio/dockerd:28.1.1
- ghcr.io/kokuwaio/dockerd:latest
- ghcr.io/kokuwaio/dockerd:28.1.1
auth:
"https://index.docker.io/v1/":
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