2020-10-31 20:07:34 +00:00
|
|
|
|
2020-10-31 20:12:39 +00:00
|
|
|
# trigger docker rebuild if changes where made
|
2020-11-03 18:56:00 +00:00
|
|
|
docker_linux:
|
2020-10-31 20:07:34 +00:00
|
|
|
stage: docker
|
|
|
|
image: docker:latest
|
2020-11-03 18:56:00 +00:00
|
|
|
tags:
|
|
|
|
- dind
|
2020-10-31 20:07:34 +00:00
|
|
|
services:
|
2020-11-03 19:12:35 +00:00
|
|
|
- name: docker:dind
|
|
|
|
entrypoint: ["env", "-u", "DOCKER_HOST"]
|
|
|
|
command: ["dockerd-entrypoint.sh"]
|
2020-11-03 19:13:53 +00:00
|
|
|
variables:
|
|
|
|
DOCKER_HOST: tcp://docker:2375/
|
|
|
|
DOCKER_DRIVER: overlay2
|
|
|
|
# See https://github.com/docker-library/docker/pull/166
|
|
|
|
DOCKER_TLS_CERTDIR: ""
|
2020-10-31 20:07:34 +00:00
|
|
|
script:
|
2020-11-03 19:31:33 +00:00
|
|
|
- docker build -t luki42/dynuiprefresher_build:conanbuild Docker/Linux_Conan
|
|
|
|
- docker login -p $DockerPWD -u luki42
|
|
|
|
- docker push luki42/dynuiprefresher_build:conanbuild
|
2020-10-31 20:07:34 +00:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- Docker/Linux_Conan/*
|