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