mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 16:07:18 +00:00
Make build_baseimage tag with latest as well as VERSION
This commit is contained in:
parent
5edb203fed
commit
d88457772d
@ -29,7 +29,7 @@ build_baseimage()
|
|||||||
cd $BASEIMAGE_PATH
|
cd $BASEIMAGE_PATH
|
||||||
VERSION="$(cat VERSION | head -n 1)"
|
VERSION="$(cat VERSION | head -n 1)"
|
||||||
DATE="$(date +%Y%m%d)"
|
DATE="$(date +%Y%m%d)"
|
||||||
docker build -t "${BASEIMAGE_NAME}:${VERSION}-${DATE}" .
|
docker build -t "${BASEIMAGE_NAME}:${VERSION}-${DATE}" -t "${BASEIMAGE_NAME}:latest" .
|
||||||
}
|
}
|
||||||
|
|
||||||
build_backend()
|
build_backend()
|
||||||
|
Loading…
Reference in New Issue
Block a user