mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2025-07-03 00:46:24 +00:00
Fix try_build_baseimage in tfw.sh
This commit is contained in:
13
hack/tfw.sh
13
hack/tfw.sh
@ -21,18 +21,17 @@ source "${SCRIPT_DIR}/libhack/challenge.sh"
|
||||
source "${SCRIPT_DIR}/libhack/frontend.sh"
|
||||
|
||||
|
||||
try_build_baseimage() {
|
||||
if baseimage::check_exists; then
|
||||
build_baseimage
|
||||
fi
|
||||
}
|
||||
|
||||
build_baseimage() {
|
||||
frontend_version="$(frontend::latest_tag)"
|
||||
baseimage::build
|
||||
}
|
||||
|
||||
|
||||
try_build_baseimage() {
|
||||
frontend_version="$(frontend::latest_tag)"
|
||||
baseimage::build_if_exists
|
||||
}
|
||||
|
||||
|
||||
case ${1:-} in
|
||||
start)
|
||||
try_build_baseimage
|
||||
|
Reference in New Issue
Block a user