This commit is contained in:
parent
20ea787617
commit
f802943316
@ -5,9 +5,6 @@
|
||||
- go test ./...
|
||||
build:
|
||||
image: docker
|
||||
environment:
|
||||
- DOCKER_HOST=tcp://docker:2376
|
||||
- DOCKER_TLS_VERIFY=1
|
||||
commands:
|
||||
- apk add curl
|
||||
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
|
||||
@ -18,12 +15,5 @@
|
||||
secrets: [docker_username, docker_password, compose_token]
|
||||
when:
|
||||
branch: "master"
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:dind
|
||||
environment:
|
||||
- DOCKER_TLS_CERTDIR=""
|
||||
privileged: true
|
||||
when:
|
||||
branch: master
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
Loading…
Reference in New Issue
Block a user