Commit a39b6796 authored by Esteban Bosse 's avatar Esteban Bosse

Edit paths, it where to long

parent f7cd2729
Pipeline #32706 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/${CI_COMMIT_SHA:0:8}/$NAME --build-arg CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE -f dockerfiles/$NAME .
- docker push $CI_REGISTRY_IMAGE/images_staging/${CI_COMMIT_SHA:0:8}/$NAME
- 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/${CI_COMMIT_SHA:0:8}/$NAME $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