Files
e-tib.com/.gitea/workflows/test-docker.yml
Marc Mintel c6b81a3d77
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 23s
Test Docker Host / test (push) Successful in 2s
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 QA (push) Has been cancelled
chore: test gateway dind reachability
2026-06-18 14:58:39 +02:00

15 lines
367 B
YAML

name: Test Docker Host
on:
push:
branches:
- main
jobs:
test:
runs-on: docker
container:
image: catthehacker/ubuntu:act-latest
steps:
- run: ip route | awk '/default/ { print $3 }' > gateway.txt
- run: cat gateway.txt
- run: GATEWAY=$(cat gateway.txt) && curl -s http://$GATEWAY:2375/v1.24/info || echo "curl failed"