/
/
/
Ansible role that deployes services on my runner machine
1[Unit]
2# binfmt handlers are kernel state and are lost on reboot. Without this, an
3# arm64 build after a restart silently produces an amd64 image that fails on
4# the Pi with "exec format error".
5Description=Register QEMU binfmt handlers for cross-architecture container builds
6After=docker.service
7Requires=docker.service
8
9[Service]
10Type=oneshot
11RemainAfterExit=yes
12ExecStart=/usr/bin/docker run --privileged --rm {{ forgejo_runner_binfmt_image }} --install {{ forgejo_runner_cross_platforms }}
13
14[Install]
15WantedBy=multi-user.target
16