Skip to content

Commit

Permalink
Fix latest tag code
Browse files Browse the repository at this point in the history
  • Loading branch information
tronyx committed Aug 20, 2024
1 parent 4f1c2f0 commit d000164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ jobs:
VERSION=${{ needs.build.outputs.version }}
docker buildx imagetools create -t ${IMAGE}:${TAG} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
docker buildx imagetools create -t ${IMAGE}:${TAG}-${VERSION} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
if [[ ${GITHUB_REF//refs\/heads\//} == main ]]; then
if [[ ${GITHUB_REF//refs\/heads\//} == master ]]; then
docker buildx imagetools create -t ${IMAGE}:latest ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64
fi

0 comments on commit d000164

Please sign in to comment.