Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit d822161

Browse files
authored
Try again to avoid pushing container images in PRs from forks (#31)
* Try again to avoid pushing container images in PRs from forks * Fix syntax error
1 parent 921137f commit d822161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/processing-segmenter-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
labels: ${{ steps.meta.outputs.labels }}
7575
cache-from: type=gha,scope=build-${{ matrix.platform }}
7676
cache-to: type=gha,mode=max,scope=build-${{ matrix.platform }}
77-
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
77+
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ !github.event.pull_request.head.repo.fork }}
7878

7979
- name: Export digest
8080
run: |

0 commit comments

Comments
 (0)