ITISFoundation / cookiecutter-osparc-service

A cookiecutter for integrating services in oSparc simcore platform
MIT License
0 stars 5 forks source link

docker tag for gitlab ci #28

Closed KZzizzle closed 4 years ago

KZzizzle commented 4 years ago

currently, the gitlab-ci.yml has:

docker tag $SC_CI_TEST_IMAGE_PREFIX/simcore/services/comp/service_name SC_CI_MASTER_REGISTRY/simcore/services/comp/service_name

However, the first cannot be found (due to shortening of name for dockerhub).

KZzizzle commented 4 years ago

this problem came up with usf-simrun: needed access to the speag registry. Add to the CI in build stage: echo "$SC_CI_MASTER_REGISTRY_PASSWORD" | docker login -u "$SC_CI_MASTER_REGISTRY_USER" --password-stdin $SC_CI_MASTER_REGISTRY