Commit 47e77de9 authored by Lukas Nagel's avatar Lukas Nagel
Browse files

manage docker in its own directory

parent 46ac8282
......@@ -17,10 +17,12 @@ default:
extends: default
image: docker
stage: .pre
variables:
DOCKER_TAG: ${CI_REGISTRY}/${CI_CONTAINER}
script:
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY}/${CI_CONTAINER}:latest .
- docker push ${CI_REGISTRY}/${CI_CONTAINER}:latest
- make docker
- docker push ${DOCKER_TAG}:latest
rebuild-docker-manual:
extends: .build-docker
......
......@@ -3,5 +3,9 @@ mindmap:
clean:
make -C mindmap clean
make -C docker clean
.PHONY: mindmap
docker:
make -C docker
.PHONY: mindmap clean docker
all: Dockerfile install-tlmngr.sh latexrun
docker build -t ${DOCKER_TAG} .
clean:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment