oci/base/alpine-image-builder/setup-kaniko-auth.sh: set auth v1

This commit is contained in:
Haitao Pan 2024-03-06 00:41:21 +08:00
parent f460fd9f1a
commit 12fef8d848

View File

@ -21,7 +21,7 @@ AUTH=$(echo -n "${REGISTRY_REPO_USER}:${REGISTRY_REPO_PASSWORD}" | base64)
cat > /kaniko/.docker/config.json << EOF
{
"auths": {
"https://${REGISTRY_ADDR}": {
"https://${REGISTRY_ADDR}/v1": {
"auth": "${AUTH}"
}
}