Skip to content

Commit 1d63700

Browse files
authored
Update dockerpublish.yml
1 parent f1e2921 commit 1d63700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
tags: [ ]
77

88
env:
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
IMAGE_ID=$REPO_NAME/$IMAGE_NAME
3333
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
34-
[ "$VERSION" == "master" ] && VERSION=latest
34+
[ "$VERSION" == "main" ] && VERSION=latest
3535
3636
echo VERSION=$VERSION
3737

0 commit comments

Comments
 (0)