Update .gitlab-ci.yml file

This commit is contained in:
2021-03-03 01:18:28 +00:00
parent 620ca572ff
commit 550ba6df4a

View File

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