From c4929e5dad39690a90ea89bd2e420cb10e2bc04d Mon Sep 17 00:00:00 2001 From: ange Date: Tue, 30 Apr 2024 23:18:19 +0200 Subject: [PATCH] fix: variables name --- k8sdeploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k8sdeploy.sh b/k8sdeploy.sh index 89190a4..505b6f7 100755 --- a/k8sdeploy.sh +++ b/k8sdeploy.sh @@ -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