Add platform archi tags

This commit is contained in:
fredbcode 2021-05-03 21:12:41 +02:00
parent dea93b59c7
commit 6184728874
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ push-docker-hub-arm:
- apk add --no-cache curl - apk add --no-cache curl
- docker pull $CONTAINER_BUILD_NOPROD_NAME - 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') - 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 - docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none

View File

@ -44,7 +44,7 @@ push-docker-hub:
- apk add --no-cache curl - apk add --no-cache curl
- docker pull $CONTAINER_BUILD_NOPROD_NAME - 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') - 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 - docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none