test_repo/.github/workflows/docker_demo.yml
Brendan 882afdd0c9
All checks were successful
Docker demo / RunDockerInDocker (push) Successful in -25s
GitHub Actions Demo / Explore-GitHub-Actions (push) Successful in -42s
Windows Action / test (push) Successful in 7h1m33s
spawn more docker containers and control their networking
2024-03-19 19:53:15 -06:00

19 lines
474 B
YAML

name: Docker demo
on: [push]
jobs:
RunDockerInDocker:
runs-on: ubuntu-latest
container: node:18
steps:
- uses: actions/checkout@v4
- uses: addnab/docker-run-action@v3
with:
image: ubuntu:latest
options: --mac-address 08:00:27:68:c9:35
run: |
echo "blah"
apt update
apt install -y iproute2
ip addr
- run: echo "🍏 This job's status is ${{ job.status }}."