Skip to content
Snippets Groups Projects
Commit 8ae746b0 authored by Ivo Kabadshow's avatar Ivo Kabadshow
Browse files

Merge branch 'docker_image' into 'master'

Added CI-Job to create Dockerimage

See merge request !22
parents 46fb7014 bd08f14e
No related branches found
No related tags found
No related merge requests found
Pipeline #135780 failed
.git
tests:
script:
- cd tests && make
docker_image:
when: manual
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
variables:
DOCKER_FILE: Dockerfile
before_script:
- COMMIT_BRANCH=$( echo "$CI_COMMIT_BRANCH" |
tr [:upper:] [:lower:] | tr '/' '_' )
- REGISTRY_IMAGE=$( echo "$CI_REGISTRY_IMAGE" | tr [:upper:] [:lower:] )
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",
\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/$DOCKER_FILE
--destination ${REGISTRY_IMAGE}/${COMMIT_BRANCH}:latest
--destination ${REGISTRY_IMAGE}/${COMMIT_BRANCH}:${CI_COMMIT_SHORT_SHA}
FROM texlive/texlive:TL2021-historic
# install local juelich theme
# RUN mkdir -p ~/texmf/tex/latex/beamertheme-juelich/
ADD . /usr/local/texlive/texmf-local/tex/latex/beamertheme-juelich/
RUN texhash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment