Some checks failed
Docker Compose Pipeline / docker-check (push) Failing after 1s
28 lines
709 B
YAML
28 lines
709 B
YAML
name: Docker Compose Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
docker-check:
|
|
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 communication with the host Docker daemon..."
|
|
docker ps
|
|
|