fix: Adds docker-in-docker to attempt to get services running correctly.
Some checks failed
Release code / build (push) Failing after 55s

This commit is contained in:
Tera << 8 2024-12-24 10:54:25 -05:00
parent b22fd417b6
commit 622e8bd286
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

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