fix: Adds docker-in-docker to attempt to get services running correctly.
Some checks failed
Release code / build (push) Failing after 55s
Some checks failed
Release code / build (push) Failing after 55s
This commit is contained in:
parent
b22fd417b6
commit
622e8bd286
1 changed files with 11 additions and 1 deletions
|
@ -8,6 +8,14 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: debian:bookworm-slim
|
||||
services:
|
||||
dind:
|
||||
image: docker:dind
|
||||
options: --privileged --shm-size=2g
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
|
@ -16,7 +24,9 @@ jobs:
|
|||
uses: actions/checkout@main
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
run: |
|
||||
apt update
|
||||
apt-get install -y docker.io
|
||||
|
||||
- name: Log in to Forgejo container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue