Skip to content

Instantly share code, notes, and snippets.

@LeoniePhiline
LeoniePhiline / .gitlab-ci.yml
Created May 12, 2020 — forked from t3easy/.gitlab-ci.yml
Build and deploy docker containers with GitLab CI
View .gitlab-ci.yml
image: an-image-with-docker-and-docker-compose
variables:
DOCKER_TLS_VERIFY: "1"
DOCKER_CERT_PATH: ".docker"
before_script:
- mkdir -p $DOCKER_CERT_PATH
- echo "$DOCKER_CA" > $DOCKER_CERT_PATH/ca.pem
- echo "$DOCKER_CERT" > $DOCKER_CERT_PATH/cert.pem