fix(build-and-push): normalize SSH context inputs
All checks were successful
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Successful in 16s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Successful in 32s
Test Actions (self-test) / Test SSH deploy action (runner-slim-amd64) (push) Successful in 9s
Test Actions (self-test) / Test SSH deploy action (runner-full-amd64) (push) Successful in 35s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-amd64) (push) Successful in 1m9s
Test Actions (self-test) / Test Kubernetes actions (runner-full-amd64) (push) Successful in 1m44s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Successful in 3m16s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Successful in 3m26s
Test Actions (self-test) / Test Kubernetes actions (runner-full-arm64) (push) Successful in 4m23s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-arm64) (push) Successful in 4m24s
Test Actions (self-test) / Test SSH deploy action (runner-slim-arm64) (push) Successful in 1m2s
Test Actions (self-test) / Test SSH deploy action (runner-full-arm64) (push) Successful in 2m56s

This commit is contained in:
2026-07-21 15:42:53 -03:00
parent 5b98d6b2c3
commit 24a644c338

View File

@@ -150,6 +150,8 @@ runs:
# supports multi-arch. Also never set DOCKER_HOST (it overrides the
# active context).
unset DOCKER_HOST || true
BUILDER_HOST=$(printf '%s' "${BUILDER_HOST}" | tr -d '\r')
BUILDER_USER=$(printf '%s' "${BUILDER_USER}" | tr -d '\r')
docker context rm -f remote-builder 2>/dev/null || true
docker context create remote-builder \