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 }}