Fix CI: install git before checkout
All checks were successful
Docker Compose Pipeline / docker-check (push) Successful in 9s
All checks were successful
Docker Compose Pipeline / docker-check (push) Successful in 9s
This commit is contained in:
parent
3669fff755
commit
5c8587a2f7
@ -6,18 +6,20 @@ on:
|
||||
|
||||
jobs:
|
||||
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:
|
||||
- name: Install git and Docker CLI
|
||||
run: apk update && apk add --no-cache git docker-cli docker-cli-compose
|
||||
|
||||
- name: Checkout Code
|
||||
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
|
||||
run: |
|
||||
whoami
|
||||
echo "Testing communication with the host Docker daemon..."
|
||||
docker ps
|
||||
docker compose version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user