diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 832b6aa..ab1b86b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,10 @@ build-push-docker-image-job: # 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:20-dind + alias: docker + command: ["--tls=false"] script: - echo "Building..." # MAKE SURE NO SPACE ON EITHER SIDE OF = IN THE FOLLOWING LINE - export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=$IMAGE_NAME_WITH_REGISTRY_PREFIX/my-build-image:$COMMIT_HASH