fix:manually set up docker-in-docker
This commit is contained in:
parent
f7757b86ad
commit
c07b93675f
1 changed files with 18 additions and 2 deletions
|
@ -33,8 +33,24 @@ jobs:
|
|||
- name: 📥 Checkout source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🐳 Setup Docker-in-Docker
|
||||
run: |
|
||||
# Install Docker using the convenience script
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
|
||||
# Start Docker daemon directly (instead of using service)
|
||||
sudo dockerd &
|
||||
|
||||
# Give the Docker daemon a moment to initialize
|
||||
sleep 10
|
||||
|
||||
# Verify Docker is working
|
||||
docker info || true
|
||||
docker --version
|
||||
|
||||
- name: 🛠️ Install Rust toolchain
|
||||
uses: https://github.com/actions-rs/toolchain@v1
|
||||
uses: https://github.com/actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
target: ${{ matrix.target }}
|
||||
|
@ -57,4 +73,4 @@ jobs:
|
|||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.binary_name }}
|
||||
path: artifacts/${{ matrix.binary_name }}
|
||||
path: artifacts/${{ matrix.binary_name }}
|
Loading…
Add table
Add a link
Reference in a new issue