Skip to content

Commit

Permalink
Merge branch 'patches' of http://github.com/VNOI-Admin/image-builder
Browse files Browse the repository at this point in the history
…into patches
  • Loading branch information
hung3a8 committed Jan 25, 2024
2 parents 38d2caf + f0d4d18 commit 32c342f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ icpc_build() {
umount -l $CHROOT/run
log "Done"

if [ $CLEAR_EARLY = true ]; then
log "Clearing early to free up space"
rm -rf $ICPC_ISO_FILENAME
log "Done"
fi

icpc_image_build
}

Expand Down Expand Up @@ -248,8 +254,8 @@ generate_actions_secret() {
fi

# from src/config.sh
if [ -f config.sh ]; then
SRC_CONFIG_SH=$($BASE64_ENCODE < config.sh)
if [ -f src/config.sh ]; then
SRC_CONFIG_SH=$($BASE64_ENCODE < src/config.sh)
echo "src/config.sh: $SRC_CONFIG_SH"
fi

Expand Down

0 comments on commit 32c342f

Please sign in to comment.