Skip to content
Snippets Groups Projects
Commit 1ad15413 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

fix Env: access (Powershell-ism), quote CI_JOB_TOKEN

parent e8f97fd7
No related branches found
No related tags found
No related merge requests found
Pipeline #9138 passed
......@@ -12,7 +12,7 @@
script:
- TAG="${CI_REGISTRY_IMAGE}:${TAG_PREFIX}${CI_COMMIT_SHA}"
- TAG_LATEST="${CI_REGISTRY_IMAGE}:${TAG_PREFIX}latest"
- echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
- echo -n "${CI_JOB_TOKEN}" | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
- docker pull "${TAG_LATEST}" || true
- >
docker build
......@@ -30,7 +30,7 @@
after_script:
# Workaround for https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40925
- docker logout ${Env:CI_REGISTRY}
- docker logout "${CI_REGISTRY}"
trixie-x64:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment