This commit is contained in:
parent
bf3d3db4e4
commit
76dd015d76
@ -7,11 +7,18 @@ on:
|
||||
jobs:
|
||||
docker-check:
|
||||
runs-on: ubuntu-latest
|
||||
# Crucial: Tells act_runner to pass the host's Docker socket into the job container
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Verify Docker Status
|
||||
run: |
|
||||
whoami
|
||||
echo "Testing access to host Docker daemon..."
|
||||
docker ps
|
||||
|
||||
Loading…
Reference in New Issue
Block a user