mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-12 22:47:18 +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()
|
||||
{
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user