Skip to content
Snippets Groups Projects
Commit d62f22ac authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

update .gitlab-ci.yml

parent db6f6ef3
No related branches found
No related tags found
No related merge requests found
Pipeline #94652 passed
......@@ -9,7 +9,7 @@ build:
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(echo -n ${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD} | base64)\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context ${CI_PROJECT_DIR}/lmod --cache=true --cache-copy-layers=true --destination ${CI_REGISTRY_IMAGE}-lmod:${CI_COMMIT_TAG} --destination ${CI_REGISTRY_IMAGE}-lmod:latest
- /kaniko/executor --context ${CI_PROJECT_DIR}/venv --cache=true --cache-copy-layers=true --destination ${CI_REGISTRY_IMAGE}-venv:${CI_COMMIT_TAG} --destination ${CI_REGISTRY_IMAGE}-venv:latest
- /kaniko/executor --context ${CI_PROJECT_DIR}/lmod --cache=true --cache-copy-layers=true --destination ${CI_REGISTRY_IMAGE}:lmod-${CI_COMMIT_TAG} --destination ${CI_REGISTRY_IMAGE}:lmod-latest
- /kaniko/executor --context ${CI_PROJECT_DIR}/venv --cache=true --cache-copy-layers=true --destination ${CI_REGISTRY_IMAGE}:venv-${CI_COMMIT_TAG} --destination ${CI_REGISTRY_IMAGE}:venv-latest
rules:
- if: $CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment