This commit is contained in:
parent
d34694a648
commit
feec7936f6
@ -6,13 +6,22 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-check:
|
docker-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest # This will now trigger the node:20-bookworm image
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Docker CLI inside Runner
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y curl
|
||||||
|
# Download and install just the docker CLI binary
|
||||||
|
curl -fsSL https://docker.com | tar -xz -C /tmp
|
||||||
|
mv /tmp/docker/docker /usr/local/bin/
|
||||||
|
rm -rf /tmp/docker
|
||||||
|
|
||||||
- name: Verify Docker Status
|
- name: Verify Docker Status
|
||||||
run: |
|
run: |
|
||||||
whoami
|
whoami
|
||||||
echo "Testing access to host Docker daemon..."
|
echo "Testing communication with the host Docker daemon..."
|
||||||
docker ps
|
docker ps
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user