docker/.woodpecker/build.yaml
Stephan Schnabel 4d1fed4cf4
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/test/2 unknown status
ci/woodpecker/pr/test/1 unknown status
s
2025-06-19 15:10:32 +02:00

86 lines
2.6 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:dev
pull: true
privileged: true
ports: [2375]
steps:
info:
image: kokuwaio/docker-cli
commands: docker info
depends_on: []
environment:
DOCKER_HOST: tcp://dockerd:2375
info2:
image: kokuwaio/docker-cli
depends_on: []
commands: docker info
info3:
image: realworld/telnet
depends_on: []
commands: telnet dockerd 2375
info4:
image: arunvelsriram/utils
depends_on: []
commands: nslookup dockerd
info5:
image: bash
depends_on: []
commands: env|sort
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