Fix push docker hub
This commit is contained in:
parent
7704da704a
commit
e04aafa368
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user