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
15 lines
367 B
YAML
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"
|