From 96f367c962eacde62f9c360c496615d469e4b88a Mon Sep 17 00:00:00 2001 From: fredbcode Date: Mon, 3 May 2021 21:16:17 +0200 Subject: [PATCH] Add platform archi tags --- gitlabci/docker-hub-arm.yml | 2 +- gitlabci/docker-hub.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlabci/docker-hub-arm.yml b/gitlabci/docker-hub-arm.yml index 5426267..d19dc5b 100644 --- a/gitlabci/docker-hub-arm.yml +++ b/gitlabci/docker-hub-arm.yml @@ -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"] diff --git a/gitlabci/docker-hub.yml b/gitlabci/docker-hub.yml index b3b5124..09cbe60 100644 --- a/gitlabci/docker-hub.yml +++ b/gitlabci/docker-hub.yml @@ -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"]