Added DIND

This commit is contained in:
Phil 2024-04-06 22:14:34 +02:00
parent e089701c0b
commit d5f51b0f0b

View file

@ -1,8 +1,8 @@
steps: steps:
- name: Publish - name: Publish
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
volumes: environment:
- /var/run/docker.sock:/var/run/docker.sock - DOCKER_HOST=tcp://docker:2376
settings: settings:
platforms: linux/amd64 platforms: linux/amd64
repo: git.hackmi.ch/hackmi.ch/home repo: git.hackmi.ch/hackmi.ch/home
@ -11,4 +11,11 @@ steps:
username: username:
from_secret: reg-user from_secret: reg-user
password: password:
from_secret: reg-pass from_secret: reg-pass
services:
docker:
image: docker:25.0-dind
commands:
- dockerd --tls=false --host=tcp://0.0.0.0:2376
privileged: true