Merge pull request 'Adds a DIND CI config' (#1) from feature/integreat-dind into main
Reviewed-on: #1
This commit is contained in:
commit
8426044d3e
17
.woodpecker/.docker-dind.yml
Normal file
17
.woodpecker/.docker-dind.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
platform: linux/amd64
|
||||
|
||||
pipeline:
|
||||
job-docker-dind:
|
||||
image: docker:dind
|
||||
commands:
|
||||
- sleep 10 # give docker enough time to start
|
||||
- docker run --rm hello-world
|
||||
volumes:
|
||||
- /tmp/docker-dind/socket:/var/run
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- /tmp/docker-dind/socket:/var/run
|
|
@ -7,8 +7,6 @@ platform: linux/amd64
|
|||
|
||||
pipeline:
|
||||
job-docker:
|
||||
# Uses a custom DIND job instead of the plugin because of
|
||||
# the dynamic setting of the registry from secrets.
|
||||
image: docker:dind
|
||||
commands:
|
||||
- docker run --rm hello-world
|
|
@ -1 +1,7 @@
|
|||
# woodpecker-lxc-test
|
||||
# Woodpecker LXC Test
|
||||
|
||||
This repository contains different Woodpecker CI configurations to run the Docker `hello-world` example on multiple Woodpecker backends.
|
||||
|
||||
- [.docker-dind.yml](.woodpecker/.docker-dind.yml)
|
||||
- [.docker-host.yml](.woodpecker/.docker-host.yml)
|
||||
- [.lxc.yml](.woodpecker/.lxc.yml)
|
||||
|
|
Loading…
Reference in a new issue