We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a41aa82 commit 7e84876Copy full SHA for 7e84876
1 file changed
.github/workflows/release.yml
@@ -49,7 +49,7 @@ jobs:
49
# Strip "v" prefix from tag name
50
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
51
# Use Docker `latest` tag convention
52
- [ "$VERSION" == "master" ] && VERSION=latest
+ [ "$VERSION" == "main" ] && VERSION=latest
53
echo IMAGE_ID=$IMAGE_ID
54
echo VERSION=$VERSION
55
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
0 commit comments