From 1ef5101b5457018b4a8c31f933ee04417ecce1f4 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sat, 4 Nov 2023 02:18:58 +0800 Subject: [PATCH] alir-epo: $repo/$ns/$img --- compile/buildx.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compile/buildx.sh b/compile/buildx.sh index 958a8565..c1d7d131 100644 --- a/compile/buildx.sh +++ b/compile/buildx.sh @@ -21,7 +21,7 @@ EOF plat="--platform linux/amd64,linux/arm64,linux/arm" #,linux/arm args="--provenance=false" # --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host' - docker buildx build $plat $args --push -t $ns/$img -f $dockerfile . + docker buildx build $plat $args --push -t $repo/$ns/$img -f $dockerfile . } ns=infrastlabs @@ -38,7 +38,7 @@ ubt-builder) plat="--platform linux/amd64,linux/arm64,linux/arm" #,linux/arm # plat="--platform linux/amd64" # --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host' - docker buildx build $cache $plat --push -t $ns/$img -f src/../build-ubt/Dockerfile.builder . + docker buildx build $cache $plat --push -t $repo/$ns/$img -f src/../build-ubt/Dockerfile.builder . ;; deb12-builder) repo=registry-1.docker.io @@ -52,7 +52,7 @@ deb12-builder) # plat="--platform linux/arm" # # plat="--platform linux/amd64" # --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host' - docker buildx build $cache $plat --push -t $ns/$img -f src/../build-ubt/Dockerfile.deb12 . + docker buildx build $cache $plat --push -t $repo/$ns/$img -f src/../build-ubt/Dockerfile.deb12 . test "0" == "$?" && build_rootfs || exit $err ;; builder) @@ -66,7 +66,7 @@ builder) plat="--platform linux/amd64,linux/arm64,linux/arm" #,linux/arm # plat="--platform linux/arm" # --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host' - docker buildx build $cache $plat --push -t $ns/$img -f src/../build-alpine/Dockerfile.builder . + docker buildx build $cache $plat --push -t $repo/$ns/$img -f src/../build-alpine/Dockerfile.builder . ;; *) #compile # TigerVNC 1.12.0 |10 Nov 2021 @@ -98,7 +98,7 @@ builder) --build-arg COMPILE_TIGER=yes """ # --network=host: docker buildx create --use --name mybuilder2 --buildkitd-flags '--allow-insecure-entitlement network.host' - docker buildx build $cache $plat $args --push -t $ns/$img -f src/../build-alpine/Dockerfile . + docker buildx build $cache $plat $args --push -t $repo/$ns/$img -f src/../build-alpine/Dockerfile . # err=$? # test "0" == "$err" && build_rootfs || exit $err ;;