updated workflow

This commit is contained in:
Marvin Zhang
2022-04-20 13:24:18 +08:00
parent f76b22de52
commit a16bc97265

View File

@@ -36,7 +36,7 @@ jobs:
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
[ "$VERSION" == "main" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION