setup-kaniko-auth.sh: update

This commit is contained in:
Haitao Pan 2024-03-06 00:18:59 +08:00
parent 884bd6b542
commit f460fd9f1a

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}/v2/": {
"https://${REGISTRY_ADDR}": {
"auth": "${AUTH}"
}
}