fix: docker server == registry

This commit is contained in:
ange 2025-04-03 11:22:07 +00:00
parent d1f56fe98d
commit eff7472739
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -20,7 +20,7 @@ kubectl config set-context --current --namespace="$K8S_NS"
if [ -n "$INPUT_REGISTRY_PASSWORD" ]; then
kubectl get secret regcred \
|| kubectl create secret docker-registry regcred \
--docker-server="${IMAGEAPP%%/*}" \
--docker-server="${REGISTRY}" \
--docker-username="$INPUT_REGISTRY_USERNAME" \
--docker-password="$INPUT_REGISTRY_PASSWORD"
fi