Add logging for action
Some checks failed
Build, Test and Push Docker Image / e2e-test (push) Failing after 2m18s
Build, Test and Push Docker Image / build-and-push (push) Has been skipped

This commit is contained in:
2025-11-06 21:02:21 +01:00
parent 0295450bef
commit 83e5a623aa

View File

@@ -30,6 +30,7 @@ jobs:
- name: Test SSH connection
run: |
ip=$(docker inspect ssh-server-test | jq -r '.[0].NetworkSettings.IPAddress')
echo "TESTING IP $ip"
output=$(ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$ip "echo test")
if [ "$output" = "test" ]; then
echo "SSH connection test passed"