mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
8 lines
272 B
SYSTEMD
8 lines
272 B
SYSTEMD
[Unit]
|
|
Description=Cleanup containers, images and volumes produced by GitLab Runner
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=docker system prune --force --filter label=com.gitlab.gitlab-runner.managed=true --volumes
|
|
ExecStart=docker image prune --all --force --filter until=168h
|