fix:manually set up docker-in-docker
This commit is contained in:
parent
d105ff745b
commit
d50e47ba54
1 changed files with 18 additions and 2 deletions
|
@ -33,8 +33,24 @@ jobs:
|
||||||
- name: 📥 Checkout source
|
- name: 📥 Checkout source
|
||||||
uses: actions/checkout@v4
|
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
|
- name: 🛠️ Install Rust toolchain
|
||||||
uses: https://github.com/actions-rs/toolchain@v1
|
uses: https://github.com/actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
@ -57,4 +73,4 @@ jobs:
|
||||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.binary_name }}
|
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