Skip to content

Commit d92b94e

Browse files
authored
Merge pull request #154 from DalangAI/all-arch-override
(hack/release.sh) allow target platform(s) override
2 parents 1735c30 + 8473839 commit d92b94e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

hack/release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Examples:
5959
6060
REGISTRY=quay.io/<yourname> ALLOW_UNSTABLE=true VERSION=canary ./hack/release.sh
6161
62+
3) Release multi-arch image to your own registry
63+
64+
REGISTRY=quay.io/<yourname> ALL_ARCH="amd64 arm64" ./hack/release.sh
65+
6266
EOF
6367
}
6468

@@ -81,8 +85,10 @@ ALLOW_OVERRIDE=${ALLOW_OVERRIDE:-}
8185
SKIP_BUILD=${SKIP_BUILD:-}
8286
# There is a problem in building multi-arch images in prow environment. Enable non-amd64
8387
# arches when we have a reliable way, see https://github.com/kubernetes/test-infra/issues/13937.
88+
# In the meantime, you may set the ALL_ARCH environment variable to name the architectures you'd
89+
# like to target.
8490
#ALL_ARCH="amd64 arm arm64 ppc64le s390x"
85-
ALL_ARCH="amd64"
91+
ALL_ARCH=${ALL_ARCH=-amd64}
8692
IMAGE="$REGISTRY/local-volume-provisioner"
8793

8894
# In prow job, DOCKER_CONFIG is mounted read-only, but docker manifest command

0 commit comments

Comments
 (0)