mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 16:27:17 +00:00
Implement version tagging in magic starter
This commit is contained in:
parent
5a5045ff3b
commit
8371eb36ef
@ -27,7 +27,9 @@ run_frontend()
|
|||||||
build_baseimage()
|
build_baseimage()
|
||||||
{
|
{
|
||||||
cd $BASEIMAGE_PATH
|
cd $BASEIMAGE_PATH
|
||||||
docker build -t $BASEIMAGE_NAME .
|
VERSION="$(cat VERSION | head -n 1)"
|
||||||
|
DATE="$(date +%Y%m%d)"
|
||||||
|
docker build -t "${BASEIMAGE_NAME}:${VERSION}-${DATE}" .
|
||||||
}
|
}
|
||||||
|
|
||||||
run_backend()
|
run_backend()
|
||||||
|
Loading…
Reference in New Issue
Block a user