This commit is contained in:
parent
d34694a648
commit
feec7936f6
@ -6,13 +6,22 @@ on:
|
||||
|
||||
jobs:
|
||||
docker-check:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest # This will now trigger the node:20-bookworm image
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
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
|
||||
run: |
|
||||
whoami
|
||||
echo "Testing access to host Docker daemon..."
|
||||
echo "Testing communication with the host Docker daemon..."
|
||||
docker ps
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user