Add platform archi tags

This commit is contained in:
fredbcode 2021-05-03 21:16:17 +02:00
parent 6184728874
commit 96f367c962
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ push-docker-hub-arm:
- 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 push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION-arm
variables:
GIT_STRATEGY: none
needs: ["docker-hub-test-arm"]

View File

@ -45,7 +45,7 @@ push-docker-hub:
- 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 push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION-amd64
variables:
GIT_STRATEGY: none
needs: ["docker-hub-test"]