17 lines
349 B
Bash
Executable File
17 lines
349 B
Bash
Executable File
#! /bin/sh
|
|
|
|
exec 2>&1
|
|
|
|
image=git.woozle.org/neale/big-builder:1.1
|
|
[ -f upgrade ] && podman pull $image && rm upgrade
|
|
|
|
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
|