Skip to content

Commit 42acfea

Browse files
authored
Merge pull request #39 from tronyx/develop
Fix latest tag code
2 parents e3395b8 + d000164 commit 42acfea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ jobs:
151151
VERSION=${{ needs.build.outputs.version }}
152152
docker buildx imagetools create -t ${IMAGE}:${TAG} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
153153
docker buildx imagetools create -t ${IMAGE}:${TAG}-${VERSION} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
154-
if [[ ${GITHUB_REF//refs\/heads\//} == main ]]; then
154+
if [[ ${GITHUB_REF//refs\/heads\//} == master ]]; then
155155
docker buildx imagetools create -t ${IMAGE}:latest ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
156156
fi

0 commit comments

Comments
 (0)