From dd707a3f29964e039efd51b83bdd2739534b4d48 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:24:09 +0100 Subject: [PATCH] Switch to Docker Hub registry, fix staging shell script call --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7da453..8efc417 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,9 @@ staging: stage: build_publish before_script: - apk add bash - - echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin + - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - - /bin/bash utils/publish/staging + - /bin/bash utils/publish/staging.sh only: - staging @@ -20,7 +20,7 @@ production: stage: build_publish before_script: - apk add bash - - echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin + - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - /bin/bash utils/publish/production.sh only: