1
This commit is contained in:
parent
e1ebdb3eb6
commit
40bdd6eca6
12 changed files with 366 additions and 306 deletions
|
@ -1,24 +1,35 @@
|
|||
when:
|
||||
instance: ci.schnabel.org
|
||||
repo: kokuwaio/dockerd
|
||||
instance: ci.kokuwa.io
|
||||
repo: woodpecker/dockerd
|
||||
event: [manual, push, pull_request]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, .woodpecker/test.yaml, .woodpecker/push.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||
|
||||
depends_on: [build]
|
||||
skip_clone: true
|
||||
matrix:
|
||||
PLATFORM: [amd64, arm64]
|
||||
labels:
|
||||
platform: linux/${PLATFORM}
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: ci-registry.schnabel.org/kokuwaio/dockerd:${CI_PIPELINE_NUMBER}
|
||||
ports: [2375]
|
||||
privileged: true
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: kokuwaio/docker-cli
|
||||
commands: docker info
|
||||
|
||||
pr:
|
||||
image: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
kokuwa.io: &version
|
||||
image: registry.kokuwa.io/kokuwaio/dockerd
|
||||
pull: true
|
||||
command: dockerd --version
|
||||
when:
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
|
||||
docker.io:
|
||||
image: docker.io/kokuwaio/dockerd
|
||||
<<: *version
|
||||
|
||||
ghcr.io:
|
||||
image: ghcr.io/kokuwaio/dockerd
|
||||
<<: *version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue