Fix CI: install git before checkout
All checks were successful
Docker Compose Pipeline / docker-check (push) Successful in 9s

This commit is contained in:
DevOps 2026-10-13 05:23:30 -04:00
parent 3669fff755
commit 5c8587a2f7

View File

@ -6,18 +6,20 @@ on:
jobs: jobs:
docker-check: docker-check:
runs-on: ubuntu-latest # This will now trigger the node:20-alpine image mapping runs-on: ubuntu-latest # maps to node:20-alpine
defaults:
run:
shell: sh # Alpine has no bash
steps: steps:
- name: Install git and Docker CLI
run: apk update && apk add --no-cache git docker-cli docker-cli-compose
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Docker CLI inside Alpine Runner
run: |
# Use Alpine package manager to safely install the docker CLI binary
apk update && apk add --no-cache docker-cli
- name: Verify Docker Status - name: Verify Docker Status
run: | run: |
whoami whoami
echo "Testing communication with the host Docker daemon..." echo "Testing communication with the host Docker daemon..."
docker ps docker ps
docker compose version