Commit 506e378c authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Only login on build script.

parent d3b5f34d
Pipeline #36951 failed with stages
in 11 minutes and 51 seconds
......@@ -8,12 +8,10 @@ stages:
- test
- qa
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
build:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
- docker build -t gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair:latest .
- docker push gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair:latest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment