version: "3"
services: gitlab-runner: build: .
image: alpinelinux/gitlab-runner:latest restart: always
volumes: - /srv/gitlab-runner/conf:/etc/gitlab-runner - /srv/gitlab-runner/home:/home/gitlab-runner - /var/run/docker.sock:/var/run/docker.sock
environment: GITLAB_REGISTRATION_TOKEN: <token> ARCH: <arch>