mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	fix push action ids
This commit is contained in:
		
							parent
							
								
									ee4544cefe
								
							
						
					
					
						commit
						5b74a931aa
					
				
							
								
								
									
										12
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @ -179,7 +179,7 @@ jobs: | ||||
|       - uses: docker/setup-buildx-action@v3 | ||||
|       - name: Build and push container image to GHCR | ||||
|         uses: docker/build-push-action@v6 | ||||
|         id: push | ||||
|         id: ghcr-push | ||||
|         with: | ||||
|           context: . | ||||
|           push: true | ||||
| @ -191,7 +191,7 @@ jobs: | ||||
|         uses: actions/attest-build-provenance@v1 | ||||
|         with: | ||||
|           subject-name: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME}} | ||||
|           subject-digest: ${{ steps.push.outputs.digest }} | ||||
|           subject-digest: ${{ steps.ghcr-push.outputs.digest }} | ||||
|           push-to-registry: true | ||||
|       - name: Log in to the GHCR container registry | ||||
|         uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | ||||
| @ -201,7 +201,7 @@ jobs: | ||||
|           password: ${{ secrets.DOCKERHUB_TOKEN }} | ||||
|       - name: Build and push image to DockerHub | ||||
|         uses: docker/build-push-action@v6 | ||||
|         id: push | ||||
|         id: dh-push | ||||
|         with: | ||||
|           context: . | ||||
|           push: true | ||||
| @ -209,3 +209,9 @@ jobs: | ||||
|           labels: ${{ steps.dh-meta.outputs.labels }} | ||||
|           cache-from: type=gha | ||||
|           cache-to: type=gha,mode=max | ||||
|       - name: Generate and push artifact attestation to DockerHub | ||||
|         uses: actions/attest-build-provenance@v1 | ||||
|         with: | ||||
|           subject-name: ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME}} | ||||
|           subject-digest: ${{ steps.dh-push.outputs.digest }} | ||||
|           push-to-registry: true | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 perf3ct
						perf3ct