updated docker build

This commit is contained in:
Marvin Zhang
2022-05-16 14:17:29 +08:00
parent 57ba52ff02
commit 7fafb01d1d
5 changed files with 29 additions and 8 deletions

View File

@@ -43,3 +43,8 @@ jobs:
docker tag image $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
if [[ $VERSION -eq "latest" ]]; then
docker tag image $IMAGE_ID:main
docker push $IMAGE_ID:main
fi