Skip to content
Snippets Groups Projects
Commit b37b72b7 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

use deploy token (if available)

parent 3f720bfc
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,11 @@ default:
- podman
before_script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- |-
if [ -n "$CI_DEPLOY_USER" ]; then
git config --global credential.helper store
(umask 077; echo "$CI_SERVER_PROTOCOL://$CI_DEPLOY_USER:$CI_DEPLOY_PASSWORD@$CI_SERVER_HOST" > $HOME/.git-credentials)
fi
variables:
PY_COLORS: 1
......
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