[improvement][project]Adapt docker related scripts to new version.

This commit is contained in:
jerryjzhang
2024-12-26 14:22:45 +08:00
parent d04a086c88
commit a4d2df4063
11 changed files with 22 additions and 82 deletions

View File

@@ -12,6 +12,7 @@ TAGS="latest"
# If VERSION is provided, add it to TAGS and tag the image as latest
if [ -n "$VERSION" ]; then
TAGS="$TAGS $VERSION"
echo "Tagging Docker images $IMAGE_NAME:$VERSION to $IMAGE_NAME:latest"
docker tag $IMAGE_NAME:$VERSION $IMAGE_NAME:latest
fi