fix: variables name

This commit is contained in:
ange 2024-04-30 23:18:19 +02:00
parent ea50afcd5c
commit c4929e5dad
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -13,11 +13,11 @@ echo "$ACTION_KUBECONFIG" > "$HOME/.kube/config"
kubectl get namespace "$NS" || kubectl create namespace "$NS"
kubectl config set-context --current --namespace="$NS"
if [ -n "$ACTION_REGISTRY_PASSWD" ]; then
if [ -n "$ACTION_REGISTRY_PASSWORD" ]; then
kubectl create secret docker-registry regcred \
--docker-server="$REGISTRY" \
--docker-username="$ACTION_REGISTRY_USER" \
--docker-password="$ACTION_REGISTRY_PASSWD"
--docker-username="$ACTION_REGISTRY_USERNAME" \
--docker-password="$ACTION_REGISTRY_PASSWORD"
fi
./manifests/bin/devel.sh