use parent docker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
David 2022-10-30 20:30:10 -04:00
parent 20ea787617
commit f802943316

View File

@ -5,9 +5,6 @@
- go test ./... - go test ./...
build: build:
image: docker image: docker
environment:
- DOCKER_HOST=tcp://docker:2376
- DOCKER_TLS_VERIFY=1
commands: commands:
- apk add curl - apk add curl
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
@ -18,12 +15,5 @@
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:dind
environment:
- DOCKER_TLS_CERTDIR=""
privileged: true
when:
branch: master