fix: strip CRLF from inputs + add .gitattributes (eol=lf) -- fixes ssh username 'invalid characters'
Some checks failed
Test build-and-push (self-test) / Build tiny multi-arch image (push) Failing after 2s

This commit is contained in:
2026-07-13 19:39:29 -03:00
parent f55d654e72
commit fc7ed6bd15
5 changed files with 34 additions and 3 deletions

View File

@@ -54,7 +54,8 @@ runs:
env:
KUBE_CONFIG: ${{ inputs.kube_config }}
run: |
echo "${KUBE_CONFIG}" > kubeconfig.yaml
# strip stray CR (CRLF checkout via core.autocrlf)
printf '%s' "${KUBE_CONFIG}" | tr -d '\r' > kubeconfig.yaml
kubectl --kubeconfig=kubeconfig.yaml cluster-info
- name: Rollout restart