mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 15:57:17 +00:00
Add support for missing baseimageless mode in tfw.sh
This commit is contained in:
parent
f994815030
commit
e6a9587f93
@ -26,6 +26,7 @@ run_frontend()
|
|||||||
|
|
||||||
release_baseimage()
|
release_baseimage()
|
||||||
{
|
{
|
||||||
|
[ ! -d "$BASEIMAGE_PATH" ] && return || :
|
||||||
cd $BASEIMAGE_PATH
|
cd $BASEIMAGE_PATH
|
||||||
TAG="$(baseimage_releasename)"
|
TAG="$(baseimage_releasename)"
|
||||||
read -p "Tag and push new TFW version \"${TAG}\"? [y/N]" -r && echo
|
read -p "Tag and push new TFW version \"${TAG}\"? [y/N]" -r && echo
|
||||||
@ -38,6 +39,7 @@ release_baseimage()
|
|||||||
|
|
||||||
build_baseimage()
|
build_baseimage()
|
||||||
{
|
{
|
||||||
|
[ ! -d "$BASEIMAGE_PATH" ] && return || :
|
||||||
cd $BASEIMAGE_PATH
|
cd $BASEIMAGE_PATH
|
||||||
docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" -t "${BASEIMAGE_NAME}:latest" .
|
docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" -t "${BASEIMAGE_NAME}:latest" .
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user