Skip to content

Commit 6584b81

Browse files
committed
This repo is old enough that the default branch is master
1 parent e09dc25 commit 6584b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish Docker image
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
tags:
88
- v*
99

@@ -30,7 +30,7 @@ jobs:
3030
3131
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
3232
33-
[ "$VERSION" == "main" ] && VERSION=latest
33+
[ "$VERSION" == "master" ] && VERSION=latest
3434
echo IMAGE_ID=$IMAGE_ID
3535
echo VERSION=$VERSION
3636
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION

0 commit comments

Comments
 (0)