From 72bab017c1167b8ab35cef3cc709ff83686eaca4 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 25 Mar 2019 11:07:44 +0100 Subject: [PATCH] Remove the Docker login registry, globally install bash --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8efc417..434a92c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,11 +6,11 @@ services: stages: - build_publish +before-script: + - apk add bash + staging: stage: build_publish - before_script: - - apk add bash - - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - /bin/bash utils/publish/staging.sh only: @@ -18,12 +18,9 @@ staging: production: stage: build_publish - before_script: - - apk add bash - - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - /bin/bash utils/publish/production.sh only: - tags except: - - branches \ No newline at end of file + - branches