Commit e2ae97fc authored by Esteban Bosse 's avatar Esteban Bosse

Change ilegal character for registry path

parent a39b6796
Pipeline #32707 failed with stages
in 1 minute and 20 seconds
......@@ -5,11 +5,11 @@
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
script:
- docker build --pull -t $CI_REGISTRY_IMAGE/images_staging/$NAME$+{CI_COMMIT_SHA:0:8} --build-arg CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE -f dockerfiles/$NAME .
- docker push $CI_REGISTRY_IMAGE/images_staging/$NAME+{CI_COMMIT_SHA:0:8}
- docker build --pull -t $CI_REGISTRY_IMAGE/images_staging/$NAME$_{CI_COMMIT_SHA:0:8} --build-arg CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE -f dockerfiles/$NAME .
- docker push $CI_REGISTRY_IMAGE/images_staging/$NAME_{CI_COMMIT_SHA:0:8}
- |
if [ "${CI_COMMIT_REF_NAME}" == "master" ]; then
docker tag $CI_REGISTRY_IMAGE/images_staging/$NAME+{CI_COMMIT_SHA:0:8} $CI_REGISTRY_IMAGE/images/$NAME
docker tag $CI_REGISTRY_IMAGE/images_staging/$NAME_{CI_COMMIT_SHA:0:8} $CI_REGISTRY_IMAGE/images/$NAME
docker push $CI_REGISTRY_IMAGE/images/$NAME
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment