Set DOCKER_TLS_CERTDIR in CI job templates

This commit is contained in:
Cameron Boulton 2019-08-05 03:47:24 +00:00 committed by Thong Kuah
parent a96c5644c1
commit 4b76d631e4
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
title: Fix Docker in Docker (DIND) listen port behavior change by adding DOCKER_TLS_CERTDIR in CI job templates.
merge_request: 31201
author: Cameron Boulton
type: fixed

View file

@ -5,6 +5,7 @@ container_scanning:
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
# Defining two new variables based on GitLab's CI/CD predefined variables
# https://docs.gitlab.com/ee/ci/variables/#predefined-environment-variables
CI_APPLICATION_REPOSITORY: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG