Skip to content

Commit

Permalink
Enable Docker install
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jan 9, 2025
1 parent a32dc56 commit 598b9d6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tools/modules/system/module_armbian_runners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module_options+=(
function module_armbian_runners () {
local title="runners"
local condition=$(which "$title" 2>/dev/null)

local gh_token=$2
gh_token=$2
echo $1
local runner_name="${3:-armbian}"
local start="${4:-01}"
local stop="${5:-01}"
Expand All @@ -38,7 +38,11 @@ function module_armbian_runners () {

case "$1" in
"${commands[0]}")
#pkg_installed docker-ce || module_docker install
echo $gh_token
[[ -z $gh_token ]] && echo "Error: Github token is mandatory" && exit 1

# Docker preinstall is needed for our build framework
pkg_installed docker-ce || module_docker install
pkg_update
pkg_install libxml2-utils jq curl

Expand Down

0 comments on commit 598b9d6

Please sign in to comment.