From cd922124ae7a8fc398d2b5aee0ae1b4180b4addb Mon Sep 17 00:00:00 2001 From: yaroslavmokflmg Date: Wed, 8 Jul 2026 12:06:29 -0400 Subject: [PATCH] fix(release): tag latest on dispatch releases too, not only default-branch push --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 640afbdf01..f1a6a6d31c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,7 +93,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.ORGANISATION }}/${{ env.REPOSITORY }}/meshcentral tags: | type=ref,event=tag - type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }} type=raw,value=${{ needs.version.outputs.version }},enable=${{ needs.version.outputs.version != '' }} labels: | org.opencontainers.image.vendor=${{ env.ORGANISATION }}