fix: variables name
This commit is contained in:
parent
ea50afcd5c
commit
c4929e5dad
1 changed files with 3 additions and 3 deletions
|
|
@ -13,11 +13,11 @@ echo "$ACTION_KUBECONFIG" > "$HOME/.kube/config"
|
||||||
kubectl get namespace "$NS" || kubectl create namespace "$NS"
|
kubectl get namespace "$NS" || kubectl create namespace "$NS"
|
||||||
kubectl config set-context --current --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 \
|
kubectl create secret docker-registry regcred \
|
||||||
--docker-server="$REGISTRY" \
|
--docker-server="$REGISTRY" \
|
||||||
--docker-username="$ACTION_REGISTRY_USER" \
|
--docker-username="$ACTION_REGISTRY_USERNAME" \
|
||||||
--docker-password="$ACTION_REGISTRY_PASSWD"
|
--docker-password="$ACTION_REGISTRY_PASSWORD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./manifests/bin/devel.sh
|
./manifests/bin/devel.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue