DynuIPRefresher/Docker/Linux_Conan/.gitlab-ci.yml

23 lines
649 B
YAML
Raw Normal View History

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:
stage: docker
image: docker:latest
2020-11-03 18:56:00 +00:00
tags:
- dind
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: ""
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/*