23 lines
649 B
YAML
23 lines
649 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 luki42/dynuiprefresher_build:conanbuild Docker/Linux_Conan
|
||
|
- docker login -p $DockerPWD -u luki42
|
||
|
- docker push luki42/dynuiprefresher_build:conanbuild
|
||
|
only:
|
||
|
changes:
|
||
|
- Docker/Linux_Conan/*
|