2023-12-28 10:07:43 -07:00
|
|
|
#! /bin/sh
|
2024-01-08 10:56:10 -07:00
|
|
|
|
|
|
|
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-01-08 10:56:10 -07:00
|
|
|
|
2024-11-28 13:36:19 -07:00
|
|
|
me=$(basename $(pwd))
|
2024-01-08 10:56:10 -07:00
|
|
|
podman pull $image
|
|
|
|
podman rm -f $me
|
2023-12-28 10:07:43 -07:00
|
|
|
podman run \
|
|
|
|
--name $me \
|
2024-01-08 10:56:10 -07:00
|
|
|
--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
|