21 lines
513 B
YAML
21 lines
513 B
YAML
|
|
# trigger docker rebuild if changes where made
|
|
docker_linux:
|
|
stage: docker
|
|
image: docker:latest
|
|
tags:
|
|
- dind
|
|
services:
|
|
- name: docker:dind
|
|
entrypoint: ["env", "-u", "DOCKER_HOST"]
|
|
command: ["dockerd-entrypoint.sh"]
|
|
variables:
|
|
DOCKER_HOST: tcp://docker:2375/
|
|
DOCKER_DRIVER: overlay2
|
|
# See https://github.com/docker-library/docker/pull/166
|
|
DOCKER_TLS_CERTDIR: ""
|
|
script:
|
|
- docker build -t test Docker/Linux_Conan
|
|
only:
|
|
changes:
|
|
- Docker/Linux_Conan/* |