Skip to content

Commit

Permalink
only install slim in ci.sh if enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Oct 25, 2024
1 parent 1b33b10 commit cb56641
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ unset TARGET
unset PLATFORM

# prepare slim
curl -L -o ds.tar.gz https://github.com/slimtoolkit/slim/releases/download/1.40.11/dist_linux.tar.gz
tar -xvf ds.tar.gz
if [[ "${ENABLE_SLIM}" == "true" ]]; then
curl -L -o ds.tar.gz https://github.com/slimtoolkit/slim/releases/download/1.40.11/dist_linux.tar.gz
tar -xvf ds.tar.gz
fi

# loop over targets and platforms to build images
for PLATFORM in "${PLATFORMS[@]}"; do
Expand Down

0 comments on commit cb56641

Please sign in to comment.