25 lines
600 B
YAML
25 lines
600 B
YAML
name: Network Debug
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
debug:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
- name: Debug Network
|
|
run: < /dev/null |
|
|
echo "=== Network Info ==="
|
|
ip addr show
|
|
echo "=== DNS Resolution ==="
|
|
nslookup gitea || echo "nslookup failed"
|
|
echo "=== Ping Test ==="
|
|
ping -c 1 gitea || echo "ping failed"
|
|
echo "=== HTTP Test ==="
|
|
curl -v http://gitea:3000 || echo "curl failed"
|
|
echo "=== Container Networks ==="
|
|
cat /etc/resolv.conf
|