fix:manually set up docker-in-docker

This commit is contained in:
Chance 2025-04-11 14:50:34 -04:00 committed by BitSyndicate
parent f7757b86ad
commit c07b93675f
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE

View file

@ -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 }}