Fixed dockerhub image tag

parent 32733f45
Pipeline #63089031 failed with stages
in 2 minutes and 29 seconds
......@@ -23,7 +23,7 @@ variables:
# performance.
DOCKER_DRIVER: overlay2
DOCKER_HUB_REGISTRY: https://index.docker.io/v1/
DOCKER_HUB_REGISTRY: https://index.docker.io/v1
services:
- docker:stable-dind
......@@ -94,11 +94,6 @@ services:
"${CI_REGISTRY_IMAGE}/$BRANCH"`
fi
IMAGE_VERSION=`docker image inspect \
--format '{{ index .Config.Labels "org.label-schema.version" }}' \
"${CI_REGISTRY_IMAGE}/$BRANCH"`
docker image tag \
"${CI_REGISTRY_IMAGE}/$BRANCH" \
"${CI_REGISTRY_IMAGE}/${BRANCH}:$IMAGE_VERSION"
......
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