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
Some checks failed
Test build-and-push (self-test) / Build tiny multi-arch image (push) Failing after 2s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user