2020-04-22 21:31:48 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- upload
|
2020-04-22 21:59:01 +00:00
|
|
|
- cleanup
|
2020-04-22 21:31:48 +00:00
|
|
|
|
2020-11-09 10:39:21 +00:00
|
|
|
|
|
|
|
image: docker:latest
|
2020-11-09 10:44:26 +00:00
|
|
|
|
2020-11-09 10:39:21 +00:00
|
|
|
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: ""
|
|
|
|
|
2020-04-19 21:42:56 +00:00
|
|
|
build:
|
|
|
|
stage: build
|
2020-11-09 10:44:26 +00:00
|
|
|
tags:
|
|
|
|
- dind
|
2020-04-19 19:32:06 +00:00
|
|
|
script:
|
2020-05-07 19:13:51 +00:00
|
|
|
- cd static
|
2020-04-21 19:06:25 +00:00
|
|
|
- docker build --no-cache -t luki42/latex-full:latest .
|
2020-11-11 16:06:28 +00:00
|
|
|
- docker login -p $DockerPWD -u luki42
|
|
|
|
- docker push luki42/latex-full:latest
|