Skip to content

Commit 7e84876

Browse files
authored
Update release.yml
Branch name correction
1 parent a41aa82 commit 7e84876

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# Strip "v" prefix from tag name
5050
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
5151
# Use Docker `latest` tag convention
52-
[ "$VERSION" == "master" ] && VERSION=latest
52+
[ "$VERSION" == "main" ] && VERSION=latest
5353
echo IMAGE_ID=$IMAGE_ID
5454
echo VERSION=$VERSION
5555
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION

0 commit comments

Comments
 (0)