From 311e2bc9b8b4c66aaf2e58ca5c06b6cc48c6c4f0 Mon Sep 17 00:00:00 2001 From: Mykhailo Svishchov Date: Fri, 6 Mar 2026 23:55:35 +0200 Subject: [PATCH] test gitea --- .gitea/workflows/test.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..154d02b --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,18 @@ +name: Network Test +on: [push] +jobs: + test_network: + runs-on: ubuntu-latest + steps: + - name: Inspect Container Environment + run: | + echo "1. My IP address:" + hostname -I + echo "2. My Hosts file:" + cat /etc/hosts + echo "3. My Resolv.conf:" + cat /etc/resolv.conf + echo "4. Can I see Gitea by IP?" + curl -I http://172.19.0.2:3000 || echo "Failed to reach IP" + echo "5. Can I see Gitea by Name?" + curl -I http://server:3000 || echo "Failed to reach Name"