From 24a644c338d403eed4440af38e508a7dddbd0e45 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Tue, 21 Jul 2026 15:42:53 -0300 Subject: [PATCH] fix(build-and-push): normalize SSH context inputs --- build-and-push/action.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-and-push/action.yaml b/build-and-push/action.yaml index d0a8e3d..a55f5ec 100644 --- a/build-and-push/action.yaml +++ b/build-and-push/action.yaml @@ -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 \