Limit parallelism of buildx builds
This commit is contained in:
		
							parent
							
								
									1cd3f207c5
								
							
						
					
					
						commit
						78645acdd7
					
				
					 3 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/buildkit.toml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.github/buildkit.toml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					[worker.oci]
 | 
				
			||||||
 | 
					  max-parallelism = 4
 | 
				
			||||||
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -75,6 +75,8 @@ jobs:
 | 
				
			||||||
        uses: actions/checkout@v2
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
      - name: Install buildx
 | 
					      - name: Install buildx
 | 
				
			||||||
        uses: docker/setup-buildx-action@v1
 | 
					        uses: docker/setup-buildx-action@v1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          config: .github/buildkit.toml
 | 
				
			||||||
      - name: Generate Dockerfile
 | 
					      - name: Generate Dockerfile
 | 
				
			||||||
        run: ./generate.sh ${{ matrix.target }} ${{ matrix.variant }}
 | 
					        run: ./generate.sh ${{ matrix.target }} ${{ matrix.variant }}
 | 
				
			||||||
      - name: Login to Docker
 | 
					      - name: Login to Docker
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										4
									
								
								.github/workflows/pr.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/pr.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -22,6 +22,10 @@ jobs:
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v2
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
 | 
					      - name: Install buildx
 | 
				
			||||||
 | 
					        uses: docker/setup-buildx-action@v1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          config: .github/buildkit.toml
 | 
				
			||||||
      - name: Build Image
 | 
					      - name: Build Image
 | 
				
			||||||
        run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
 | 
					        run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
 | 
				
			||||||
      - name: Build ffmpeg
 | 
					      - name: Build ffmpeg
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue