1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-14 02:47:17 +00:00

Add support for missing baseimageless mode in tfw.sh

This commit is contained in:
Kristóf Tóth 2018-03-31 01:32:44 +02:00
parent f994815030
commit e6a9587f93

View File

@ -26,6 +26,7 @@ run_frontend()
release_baseimage()
{
[ ! -d "$BASEIMAGE_PATH" ] && return || :
cd $BASEIMAGE_PATH
TAG="$(baseimage_releasename)"
read -p "Tag and push new TFW version \"${TAG}\"? [y/N]" -r && echo
@ -38,6 +39,7 @@ release_baseimage()
build_baseimage()
{
[ ! -d "$BASEIMAGE_PATH" ] && return || :
cd $BASEIMAGE_PATH
docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" -t "${BASEIMAGE_NAME}:latest" .
}