Skip to content
Snippets Groups Projects
Verified Commit 418b4e34 authored by Adrián Rošinec's avatar Adrián Rošinec
Browse files

Fix

parent 84cb4ce5
No related branches found
No related tags found
1 merge request!6Minor changes
Pipeline #167431 failed
......@@ -8,6 +8,9 @@ stages:
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
docs:
stage: test
image: it4innovations/docker-mdcheck:latest
......@@ -107,7 +110,7 @@ docker-build:
tag=""
echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
else
tag=":$CI_COMMIT_REF_SLUG"
tag=":$CI_COMMIT_REF_NAME"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
- docker build --pull -t "$CI_REGISTRY_IMAGE${tag}" .
......@@ -119,7 +122,7 @@ docker-build:
mkdocs:
image:
name: "http://registry.gitlab.ics.muni.cz:443/einfra-docs/documentation:${CI_COMMIT_REF_SLUG}"
name: "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}"
entrypoint: ["/bin/sh", "-c"]
stage: build
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment