diff --git a/bin/sparky-runner.raku b/bin/sparky-runner.raku index 7a21110..5e90ae4 100755 --- a/bin/sparky-runner.raku +++ b/bin/sparky-runner.raku @@ -178,6 +178,9 @@ sub MAIN ( $sparrowdo-run ~= " --localhost"; } + if %sparrowdo-config { + $sparrowdo-run ~= " --image=" ~ %sparrowdo-config; + } if %sparrowdo-config { $sparrowdo-run ~= " --repo=" ~ %sparrowdo-config; diff --git a/utils/generate-cert.sh b/utils/generate-cert.sh index 69aab6a..20c7d01 100644 --- a/utils/generate-cert.sh +++ b/utils/generate-cert.sh @@ -1,3 +1,7 @@ +set -e + +mkdir -p ~/.sparky/certs/ + openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \ -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.sparkyci.com" \ -keyout ~/.sparky/certs/www.sparkyci.com.key -out ~/.sparky/certs/www.sparkyci.com.cert