spawn more docker containers and control their networking
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 1m28s

This commit is contained in:
Brendan Haines 2024-03-19 19:53:15 -06:00
parent b6adff6862
commit 882afdd0c9

View File

@ -1,11 +1,18 @@
name: Docker demo name: Docker demo
on: [push] on: [push]
jobs: jobs:
Explore-GitHub-Actions: RunDockerInDocker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:18 container: node:18
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: | - uses: addnab/docker-run-action@v3
docker run hello-world 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 }}." - run: echo "🍏 This job's status is ${{ job.status }}."