diff --git a/gitlabci/docker-hub.yml b/gitlabci/docker-hub.yml index cfd47db..e338213 100644 --- a/gitlabci/docker-hub.yml +++ b/gitlabci/docker-hub.yml @@ -38,6 +38,7 @@ push-docker-hub: before_script: - docker login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_TOKEN" $DOCKER_HUB_REGISTRY script: + - apk add --no-cache curl - docker pull $CONTAINER_BUILD_NOPROD_NAME - export SQUID_VERSION=$(curl -s http://www.squid-cache.org/Versions/v4/ | egrep -m 1 -oh squid-.*.tar.gz | cut -d '"' -f1) - docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$SQUID_VERSION