From 464d7845eac7cd2e2266cfbdaeedaf7138e78c8c Mon Sep 17 00:00:00 2001 From: Mads Schou-Andreasen Date: Wed, 20 May 2020 00:13:40 +0200 Subject: [PATCH] gitlab fixes 2 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b39ef6d6..6bd0abc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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