Update .gitlab-ci.yml file

This commit is contained in:
francois 2023-12-11 05:18:01 +00:00
parent 16dff174bb
commit 8e49563977

View file

@ -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: