gitlab fixes 2

This commit is contained in:
Mads Schou-Andreasen 2020-05-20 00:13:40 +02:00
parent 8ae46dfda3
commit 464d7845ea
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ stages:
- build
- push
.build_images: &build_images
build_images:
before_script:
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY
@ -34,7 +34,7 @@ stages:
- docker push $GITLAB_IMAGE
.push_master: &push_master
push_master:
before_script:
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY