From 327d122721f1562982a08f3651404d1dd651ea31 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Tue, 18 Jan 2022 19:29:30 +0100 Subject: [PATCH] Remove build for arm/v7 --- build-docker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-docker.sh b/build-docker.sh index f7706b9..eded916 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -3,9 +3,10 @@ IMAGE_NAME=robocar-oak-camera TAG=$(git describe) FULL_IMAGE_NAME=docker.io/cyrilix/${IMAGE_NAME}:${TAG} +PLATFORM="linux/amd64,linux/arm64" +#PLATFORM="linux/amd64,linux/arm64,linux/arm/v7" - -podman build . --platform linux/amd64,linux/arm64,linux/arm/v7 --manifest "${IMAGE_NAME}:${TAG}" +podman build . --platform "${PLATFORM}" --manifest "${IMAGE_NAME}:${TAG}" podman manifest push --format v2s2 "localhost/${IMAGE_NAME}:${TAG}" "docker://${FULL_IMAGE_NAME}" printf "\nImage %s published" "docker://${FULL_IMAGE_NAME}"