stacks/homelab/builder-betty/run

15 lines
292 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
2023-12-28 10:07:43 -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 \
$image -c config.yaml daemon