Skip to content

Commit 739eb26

Browse files
authored
add main branch check
1 parent 9124002 commit 739eb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [[ -z "${IMAGE_TAG}" ]]; then
1818
IMAGE_TAG=${IMAGE_TAG#*/}
1919
IMAGE_TAG=$(echo $IMAGE_TAG | sed -e "s#^v##")
2020

21-
if [ "$IMAGE_TAG" == "master" ]; then
21+
if [[ "$IMAGE_TAG" == "master" || "$IMAGE_TAG" == "main" ]]; then
2222
IMAGE_TAG=latest
2323
fi
2424
fi

0 commit comments

Comments
 (0)