mirror of
				https://github.com/C4illin/ConvertX.git
				synced 2025-10-31 03:53:30 +00:00 
			
		
		
		
	chore: attempt to restrict push when allowed
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							| @@ -84,8 +84,8 @@ jobs: | |||||||
|           platforms: ${{ matrix.platform }} |           platforms: ${{ matrix.platform }} | ||||||
|           labels: ${{ steps.meta.outputs.labels }} |           labels: ${{ steps.meta.outputs.labels }} | ||||||
|           annotations: ${{ steps.meta.outputs.annotations }} |           annotations: ${{ steps.meta.outputs.annotations }} | ||||||
|           outputs: type=image,name=ghcr.io/${{ env.REPO }},push-by-digest=true,name-canonical=true,push=false,oci-mediatypes=true |           outputs: type=image,name=ghcr.io/${{ env.REPO }},push-by-digest=true,name-canonical=true,oci-mediatypes=true | ||||||
|           push: false |           push: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | ||||||
|           cache-from: type=gha,scope=${{ matrix.platform }} |           cache-from: type=gha,scope=${{ matrix.platform }} | ||||||
|           cache-to: type=gha,mode=max,scope=${{ matrix.platform }} |           cache-to: type=gha,mode=max,scope=${{ matrix.platform }} | ||||||
|  |  | ||||||
| @@ -104,6 +104,7 @@ jobs: | |||||||
|           retention-days: 1 |           retention-days: 1 | ||||||
|  |  | ||||||
|   merge: |   merge: | ||||||
|  |     if: github.event.pull_request.head.repo.full_name == github.repository | ||||||
|     name: Merge Docker manifests |     name: Merge Docker manifests | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user