Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
# This file is a template, and might need editing before it works on your project.
|
# This file is a template, and might need editing before it works on your project.
|
||||||
docker-build-master:
|
docker-build-master:
|
||||||
# Official docker image.
|
# Official docker image.
|
||||||
image: docker:latest
|
image: docker:18.09.7-dind
|
||||||
services:
|
services:
|
||||||
- docker:latest
|
- docker:18.09.7-dind
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
#DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overl
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
|
||||||
# variables:
|
# variables:
|
||||||
@@ -29,10 +29,14 @@ docker-build-master:
|
|||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
# Official docker image.
|
# Official docker image.
|
||||||
image: docker:latest
|
image: docker:18.09.7-dind
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:18.09.7-dind
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: overlay
|
||||||
|
DOCKER_HOST: tcp://localhost:2375/
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user