add docker cli
This commit is contained in:
parent
2321c5e53a
commit
997f99e7ec
1 changed files with 6 additions and 4 deletions
|
|
@ -17,14 +17,16 @@ jobs:
|
||||||
arch: [ amd64, arm64 ]
|
arch: [ amd64, arm64 ]
|
||||||
runs-on: ${{ matrix.arch }}
|
runs-on: ${{ matrix.arch }}
|
||||||
container:
|
container:
|
||||||
# Use a more suitable base image for package management and common tools.
|
image: node:latest
|
||||||
# Debian is often a good balance between size and available packages.
|
|
||||||
# You're using `apk` (Alpine Linux package manager) in an Ubuntu container, which will fail.
|
|
||||||
image: node:latest # or debian:bookworm-slim, or even a specific Node.js image if you mainly need Node.js
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Docker CLI
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y docker.io
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue