Add platform archi tags
This commit is contained in:
parent
dea93b59c7
commit
6184728874
@ -52,7 +52,7 @@ push-docker-hub-arm:
|
||||
- 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 | sed 's/\.tar\.gz//g')
|
||||
- docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$SQUID_VERSION_arm
|
||||
- docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$SQUID_VERSION-arm
|
||||
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
|
@ -44,7 +44,7 @@ push-docker-hub:
|
||||
- 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 | sed 's/\.tar\.gz//g')
|
||||
- docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$SQUID_VERSION_amd64
|
||||
- docker tag $CONTAINER_BUILD_NOPROD_NAME $HUB_REGISTRY_IMAGE:$SQUID_VERSION-amd64
|
||||
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
|
Loading…
Reference in New Issue
Block a user