stacks/homelab/builder-betty/run

17 lines
349 B
Plaintext
Raw Permalink Normal View History

2023-12-28 10:07:43 -07:00
#! /bin/sh
exec 2>&1
image=git.woozle.org/neale/big-builder:1.1
2024-11-28 13:36:19 -07:00
[ -f upgrade ] && podman pull $image && rm upgrade
2024-11-28 13:36:19 -07:00
me=$(basename $(pwd))
podman pull $image
podman rm -f $me
2023-12-28 10:07:43 -07:00
podman run \
--name $me \
--volume ./config.yaml:/app/config.yaml:ro \
--volume /srv/secrets/builder-betty/.runner:/app/.runner \
2024-11-28 13:36:19 -07:00
$image \
-c config.yaml daemon