Skip to content

Commit

Permalink
Fix build from base image (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Mar 23, 2021
1 parent 5ae810f commit cf6400f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,12 @@ function build_base_image() {
# Modify build_from
if [[ "${build_from}" =~ :$ ]]; then
if bashio::var.has_value "${VERSION_FROM}"; then
build_from="${build_from}:${VERSION_FROM}"
build_from="${build_from}${VERSION_FROM}"
else
build_from="${build_from}:${VERSION_BASE}"
build_from="${build_from}${VERSION_BASE}"
fi
fi
bashio::log.info "Use BUILD_FROM: ${build_from}"

# Read data from image
if ! bashio::var.has_value "${raw_image}"; then
Expand Down

0 comments on commit cf6400f

Please sign in to comment.