stacks/homelab/builder-betty/run

15 lines
292 B
Bash
Executable File

#! /bin/sh
exec 2>&1
image=git.woozle.org/neale/big-builder:1.1
me=$(basename $(pwd))
podman pull $image
podman rm -f $me
podman run \
--name $me \
--volume ./config.yaml:/app/config.yaml:ro \
--volume /srv/secrets/builder-betty/.runner:/app/.runner \
$image -c config.yaml daemon