From eb38e8a7ae308774953620e56128ca983a66c19e Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 21:26:11 +0100 Subject: [PATCH] Fix logs --- .gitea/workflows/build-and-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index 56bbd4d..664f1c2 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -33,7 +33,7 @@ jobs: run: | ip=$(docker inspect ssh-server-test | jq -r '.[0].NetworkSettings.Networks."test-net".IPAddress') echo "Server IP: $ip" - output=$( { docker run --rm --network test-net alpine sh -c "apk add --no-cache openssh-client && ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=10 root@$ip 'echo test559920' 2>/dev/null" ; } 2>&1 ) + output=$( { docker run --rm --network test-net alpine sh -c "apk add --no-cache openssh-client && ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=10 root@$ip 'echo test559920' 2>/dev/null" ; } 2>&1 ; true ) echo "Captured output: '$output'" if echo "$output" | grep -q "test559920"; then echo "SSH connection test passed"