Update docker-hub.yml
This commit is contained in:
parent
2f99f08a9b
commit
cea8cd98a1
@ -39,7 +39,7 @@ push-docker-hub:
|
||||
- docker login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_TOKEN" $DOCKER_HUB_REGISTRY
|
||||
script:
|
||||
- docker pull $CONTAINER_BUILD_NOPROD_NAME
|
||||
- export VERSION=$(docker run -i --entrypoint "/bin/sh" $CONTAINER_BUILD_NOPROD_NAME -c env | grep SQUID_VERSION | cut -d'=' -f2)
|
||||
- export VERSION=$(docker run -i --entrypoint "/bin/sh" $CONTAINER_BUILD_NOPROD_NAME -c env | grep EN_SQUID_VERSION | cut -d'=' -f2)
|
||||
- docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$VERSION
|
||||
- docker push $HUB_REGISTRY_IMAGE:$VERSION
|
||||
variables:
|
||||
|
Loading…
Reference in New Issue
Block a user