Merge pull request 'Adds a DIND CI config' (#1) from feature/integreat-dind into main
All checks were successful
ci/woodpecker/push/docker-dind Pipeline was successful
ci/woodpecker/push/docker-host Pipeline was successful
ci/woodpecker/push/lxc Pipeline was successful

Reviewed-on: #1
This commit is contained in:
Maximilian Kratz 2023-02-06 08:16:16 +00:00
commit 8426044d3e
3 changed files with 24 additions and 3 deletions

View 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

View file

@ -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

View file

@ -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)