Add platform archi tags

This commit is contained in:
fredbcode 2021-05-03 20:41:13 +02:00
parent df69516848
commit 1194622281
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ docker-hub-build-arm:
- cd $CI_PROJECT_DIR
- apk add --no-cache curl
- export SQUID_VERSION=$(curl -s http://www.squid-cache.org/Versions/v4/ | egrep -m 1 -oh squid-.*.tar.gz | cut -d '"' -f1)
- docker build -f Dockerfile.arm --build-arg SQUID_VERSION=$SQUID_VERSION --pull -t $CONTAINER_BUILD_NOPROD_NAME .
- docker build -f Dockerfile.arm --build-arg SQUID_VERSION=$SQUID_VERSION --platform linux/arm/v7 --pull -t $CONTAINER_BUILD_NOPROD_NAME .
- docker push $CONTAINER_BUILD_NOPROD_NAME
.services:

View File

@ -16,7 +16,7 @@ docker-hub-build:
- cd $CI_PROJECT_DIR
- apk add --no-cache curl
- export SQUID_VERSION=$(curl -s http://www.squid-cache.org/Versions/v4/ | egrep -m 1 -oh squid-.*.tar.gz | cut -d '"' -f1)
- docker build --build-arg SQUID_VERSION=$SQUID_VERSION --pull -t $CONTAINER_BUILD_NOPROD_NAME .
- docker build --build-arg SQUID_VERSION=$SQUID_VERSION --platform linux/amd64--pull -t $CONTAINER_BUILD_NOPROD_NAME .
- docker push $CONTAINER_BUILD_NOPROD_NAME
.services: