This commit is contained in:
parent
20ea787617
commit
f802943316
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user