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:
|
||||
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:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Docker CLI inside Runner
|
||||
- name: Install Docker CLI inside Alpine 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
|
||||
# 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user