fix: invalid namespace name
This commit is contained in:
parent
84ec9cf196
commit
860ab947e4
@ -12,4 +12,4 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: k8sdeploy
|
||||
run: ${{ gitea.action_path }}/k8sdeploy.sh
|
||||
run: ${{ gitea.action_path }}/entrypoint.sh
|
||||
|
@ -6,7 +6,7 @@ set -a
|
||||
set +a
|
||||
|
||||
REGISTRY="${IMAGEAPP%%/*}"
|
||||
export K8S_NS="${GITHUB_REPOSITORY#*/}-${GITHUB_REF_NAME}"
|
||||
export K8S_NS; K8S_NS="$(tr '[:upper:]' '[:lower:]' <<< "${GITHUB_REPOSITORY#*/}-$GITHUB_REF_NAME" | tr -c '[:lower:]-' -)"
|
||||
|
||||
mkdir -p "$HOME/.kube/"
|
||||
echo "$INPUT_KUBECONFIG" > "$HOME/.kube/config"
|
Loading…
Reference in New Issue
Block a user