1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:27:17 +00:00

Make build_baseimage tag with latest as well as VERSION

This commit is contained in:
Kristóf Tóth 2018-03-27 17:23:56 +02:00
parent 5edb203fed
commit d88457772d

View File

@ -29,7 +29,7 @@ build_baseimage()
cd $BASEIMAGE_PATH
VERSION="$(cat VERSION | head -n 1)"
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()