From d5f51b0f0bcad539320cab08b6f7b559d7507af1 Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 6 Apr 2024 22:14:34 +0200 Subject: [PATCH] Added DIND --- .woodpecker.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a0e12f8..666af96 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,8 +1,8 @@ steps: - name: Publish image: woodpeckerci/plugin-docker-buildx - volumes: - - /var/run/docker.sock:/var/run/docker.sock + environment: + - DOCKER_HOST=tcp://docker:2376 settings: platforms: linux/amd64 repo: git.hackmi.ch/hackmi.ch/home @@ -11,4 +11,11 @@ steps: username: from_secret: reg-user password: - from_secret: reg-pass \ No newline at end of file + from_secret: reg-pass + +services: + docker: + image: docker:25.0-dind + commands: + - dockerd --tls=false --host=tcp://0.0.0.0:2376 + privileged: true \ No newline at end of file