fix(runner): install Docker deps before checking/starting runner container
This commit is contained in:
parent
e9367b535d
commit
9a5325a38d
1 changed files with 3 additions and 0 deletions
|
|
@ -752,6 +752,9 @@ do_forgejo_update() {
|
||||||
do_forgejo_runner_install() {
|
do_forgejo_runner_install() {
|
||||||
require_root
|
require_root
|
||||||
|
|
||||||
|
install_deps
|
||||||
|
echo ""
|
||||||
|
|
||||||
if docker ps -a --format '{{.Names}}' | grep -q "^${FORGEJO_RUNNER_CONTAINER}$"; then
|
if docker ps -a --format '{{.Names}}' | grep -q "^${FORGEJO_RUNNER_CONTAINER}$"; then
|
||||||
log_warn "Forgejo Runner is already installed."
|
log_warn "Forgejo Runner is already installed."
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue