From 5650b7a7850648717b2ef4ebd9c8f641080d0a71 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 12 Nov 2022 10:55:53 +0000 Subject: [PATCH] woodpecker: expose host docker socket for now until i have time to make docker-in-docker work --- .woodpecker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index c4a82e9647c..d096eae7631 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,17 +3,23 @@ pipeline: image: docker commands: - echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems + volumes: + - /var/run/docker.sock:/var/run/docker.sock when: event: [push, tag] secrets: [REGISTRY_SECRET] build: image: docker + volumes: + - /var/run/docker.sock:/var/run/docker.sock commands: - docker image build -f Dockerfile . -t gitea.treehouse.systems/treehouse/mastodon:latest push: image: docker + volumes: + - /var/run/docker.sock:/var/run/docker.sock commands: - docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon when: