fix: added new runner
Some checks failed
Docker Compose Pipeline / docker-check (push) Failing after 39s
Some checks failed
Docker Compose Pipeline / docker-check (push) Failing after 39s
This commit is contained in:
parent
feec7936f6
commit
3669fff755
@ -6,22 +6,18 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-check:
|
docker-check:
|
||||||
runs-on: ubuntu-latest # This will now trigger the node:20-bookworm image
|
runs-on: ubuntu-latest # This will now trigger the node:20-alpine image mapping
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Docker CLI inside Runner
|
- name: Install Docker CLI inside Alpine Runner
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y curl
|
# Use Alpine package manager to safely install the docker CLI binary
|
||||||
# Download and install just the docker CLI binary
|
apk update && apk add --no-cache docker-cli
|
||||||
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 communication with the host Docker daemon..."
|
echo "Testing communication with the host Docker daemon..."
|
||||||
docker ps
|
docker ps
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user