mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	docker: Reintroduce cross-platform builds
This commit is contained in:
		
							parent
							
								
									f4e7dcd5e8
								
							
						
					
					
						commit
						85db664756
					
				
							
								
								
									
										10
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							| @ -67,6 +67,14 @@ jobs: | |||||||
|         runs-on: ubuntu-latest |         runs-on: ubuntu-latest | ||||||
|         needs: |         needs: | ||||||
|             - test_docker |             - test_docker | ||||||
|  |         strategy: | ||||||
|  |             fail-fast: true | ||||||
|  |             matrix: | ||||||
|  |                 platform: | ||||||
|  |                     - linux/amd64 | ||||||
|  |                     - linux/arm64 | ||||||
|  |                     - linux/arm/v7 | ||||||
|  |                     - linux/arm/v6 | ||||||
|         permissions: |         permissions: | ||||||
|           contents: read |           contents: read | ||||||
|           packages: write |           packages: write | ||||||
| @ -107,6 +115,7 @@ jobs: | |||||||
|             id: ghcr-push |             id: ghcr-push | ||||||
|             with: |             with: | ||||||
|               context: . |               context: . | ||||||
|  |               platforms: ${{ matrix.platform }} | ||||||
|               push: true |               push: true | ||||||
|               tags: ${{ steps.ghcr-meta.outputs.tags }} |               tags: ${{ steps.ghcr-meta.outputs.tags }} | ||||||
|               labels: ${{ steps.ghcr-meta.outputs.labels }} |               labels: ${{ steps.ghcr-meta.outputs.labels }} | ||||||
| @ -129,6 +138,7 @@ jobs: | |||||||
|             id: dh-push |             id: dh-push | ||||||
|             with: |             with: | ||||||
|               context: . |               context: . | ||||||
|  |               platforms: ${{ matrix.platform }} | ||||||
|               push: true |               push: true | ||||||
|               tags: ${{ steps.dh-meta.outputs.tags }} |               tags: ${{ steps.dh-meta.outputs.tags }} | ||||||
|               labels: ${{ steps.dh-meta.outputs.labels }} |               labels: ${{ steps.dh-meta.outputs.labels }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran