mount socket
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
David 2024-02-26 00:52:25 +00:00
parent 1d79f8d014
commit da8875c89e

View File

@ -5,7 +5,6 @@ steps:
- DOCKER_HOST=tcp://docker:2375
commands:
- apk add curl
- sleep 5 # wait for docker service to come up
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
- docker build -t registry.yetaga.in/castor:latest .
- docker push registry.yetaga.in/castor:latest
@ -14,10 +13,5 @@ steps:
secrets: [docker_username, docker_password, compose_token]
when:
branch: "master"
services:
docker:
image: docker:18.09-dind
privileged: true
when:
branch: master
volumes:
- /var/run/docker.sock:/var/run/docker.sock