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

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