Remove the Docker login registry, globally install bash
This commit is contained in:
@@ -6,11 +6,11 @@ services:
|
|||||||
stages:
|
stages:
|
||||||
- build_publish
|
- build_publish
|
||||||
|
|
||||||
|
before-script:
|
||||||
|
- apk add bash
|
||||||
|
|
||||||
staging:
|
staging:
|
||||||
stage: build_publish
|
stage: build_publish
|
||||||
before_script:
|
|
||||||
- apk add bash
|
|
||||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
|
||||||
script:
|
script:
|
||||||
- /bin/bash utils/publish/staging.sh
|
- /bin/bash utils/publish/staging.sh
|
||||||
only:
|
only:
|
||||||
@@ -18,9 +18,6 @@ staging:
|
|||||||
|
|
||||||
production:
|
production:
|
||||||
stage: build_publish
|
stage: build_publish
|
||||||
before_script:
|
|
||||||
- apk add bash
|
|
||||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
|
||||||
script:
|
script:
|
||||||
- /bin/bash utils/publish/production.sh
|
- /bin/bash utils/publish/production.sh
|
||||||
only:
|
only:
|
||||||
|
|||||||
Reference in New Issue
Block a user