Switch to Docker Hub registry, fix staging shell script call

This commit is contained in:
flow.gunso
2019-03-15 12:24:09 +01:00
parent 6b08a899de
commit dd707a3f29

View File

@@ -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: