Update .gitlab-ci.yml file
This commit is contained in:
parent
16dff174bb
commit
8e49563977
1 changed files with 2 additions and 2 deletions
|
@ -7,13 +7,13 @@ stages:
|
|||
build-push-docker-image-job:
|
||||
stage: dockerize
|
||||
# Specify a Docker image to run the job in.
|
||||
image: docker
|
||||
image: docker:20-dind
|
||||
# Specify an additional image 'docker:dind' ("Docker-in-Docker") that
|
||||
# will start up the Docker daemon when it is brought up by a runner.
|
||||
before_script:
|
||||
- docker login -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD" $DOCKER_REGISTRY_URL # Instructs GitLab to login to its registry
|
||||
services:
|
||||
- name: docker
|
||||
- name: docker:20-dind
|
||||
alias: docker
|
||||
command: ["--tls=false"]
|
||||
script:
|
||||
|
|
Loading…
Reference in a new issue