Skip to content

Commit 5ea0374

Browse files
committed
fix: default branch is main
1 parent 29ddcf1 commit 5ea0374

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
IMAGE_ID=ikcap/disk_backend
5858
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
5959
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
60-
[ "$VERSION" == "master" ] && VERSION=latest
60+
[ "$VERSION" == "main" ] && VERSION=latest
6161
echo IMAGE_ID=$IMAGE_ID
6262
echo VERSION=$VERSION
6363
docker tag $IMAGE_NAME $IMAGE_ID:$GITHUB_SHA

.github/workflows/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
IMAGE_ID=ikcap/disk_frontend
5858
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
5959
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
60-
[ "$VERSION" == "master" ] && VERSION=latest
60+
[ "$VERSION" == "main" ] && VERSION=latest
6161
echo IMAGE_ID=$IMAGE_ID
6262
echo VERSION=$VERSION
6363
docker tag $IMAGE_NAME $IMAGE_ID:$GITHUB_SHA

0 commit comments

Comments
 (0)