Skip to content
Snippets Groups Projects
Commit 37452121 authored by Sören Henning's avatar Sören Henning
Browse files

Fix building with docker-in-docker and TLS enabled with gitlab-ci

parent ead4a4f4
No related branches found
No related tags found
No related merge requests found
Pipeline #359 passed
...@@ -54,9 +54,13 @@ test: ...@@ -54,9 +54,13 @@ test:
stage: deploy stage: deploy
tags: tags:
- dockerex - dockerex
image: docker:latest # see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
# for image usage and settings for building with TLS and docker in docker
image: docker:19.03.1
services: services:
- docker:dind - docker:19.03.1-dind
variables:
DOCKER_TLS_CERTDIR: "/certs"
script: script:
- DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//') - DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
- docker build --pull -t titan-ccp-exp-bigdata19-bridge ./exp-bigdata19-bridge - docker build --pull -t titan-ccp-exp-bigdata19-bridge ./exp-bigdata19-bridge
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment