diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 7d4f718..cd799ef 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -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