Skip to content

Commit

Permalink
rfs/buildx # oci-mediatypes=true,image-manifest=true,:ali-403-forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Dec 3, 2024
1 parent 7ba4dc6 commit aaafe0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ function doBuildx(){
test "$plat" != "--platform linux/amd64,linux/arm64,linux/arm" && cimg="${cimg}-dbg"

# ref :3000/sam/quickstart-dockerfile >> mode=max
# oci-mediatypes=true,image-manifest=true,:ali-403-forbidden
cache="--cache-from type=registry,ref=$ali/$ns/$cimg"
cache="$cache --cache-to type=registry,ref=$ali/$ns/$cimg,oci-mediatypes=true,image-manifest=true,mode=max"
cache="$cache --cache-to type=registry,ref=$ali/$ns/$cimg,mode=max"
# --output type=image,name=$repo/base/env-system:alpine313-$ver-bc,push=true,oci-mediatypes=true,registry.insecure=true,annotation.author=sam
# ----------
# docker buildx build -h
Expand Down

0 comments on commit aaafe0b

Please sign in to comment.