Skip to content

Commit

Permalink
alir-epo: $repo/$ns/$img
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 3, 2023
1 parent cb76e80 commit 1ef5101
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compile/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit 1ef5101

Please sign in to comment.