updated workflows

This commit is contained in:
Marvin Zhang
2022-05-16 20:54:20 +08:00
parent 14a18efafa
commit 79b37d3dc3

View File

@@ -44,7 +44,7 @@ jobs:
docker tag image $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
if [[ $VERSION -eq "latest" ]]; then
if [[ $VERSION == "latest" ]]; then
docker tag image $IMAGE_ID:main
docker push $IMAGE_ID:main
fi