mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	Merge pull request #2510 from crazy-max/ci-ubuntu24.04
ci: switch to ubuntu-24.04 runner
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -31,7 +31,7 @@ env:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  test-integration:
 | 
					  test-integration:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      TESTFLAGS_DOCKER: "-v --parallel=1 --timeout=30m"
 | 
					      TESTFLAGS_DOCKER: "-v --parallel=1 --timeout=30m"
 | 
				
			||||||
      TEST_IMAGE_BUILD: "0"
 | 
					      TEST_IMAGE_BUILD: "0"
 | 
				
			||||||
@@ -145,7 +145,7 @@ jobs:
 | 
				
			|||||||
      fail-fast: false
 | 
					      fail-fast: false
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        os:
 | 
					        os:
 | 
				
			||||||
          - ubuntu-22.04
 | 
					          - ubuntu-24.04
 | 
				
			||||||
          - macos-12
 | 
					          - macos-12
 | 
				
			||||||
          - windows-2022
 | 
					          - windows-2022
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
@@ -212,7 +212,7 @@ jobs:
 | 
				
			|||||||
          path: ${{ env.TESTREPORTS_BASEDIR }}
 | 
					          path: ${{ env.TESTREPORTS_BASEDIR }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  prepare-binaries:
 | 
					  prepare-binaries:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    outputs:
 | 
					    outputs:
 | 
				
			||||||
      matrix: ${{ steps.platforms.outputs.matrix }}
 | 
					      matrix: ${{ steps.platforms.outputs.matrix }}
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
@@ -230,7 +230,7 @@ jobs:
 | 
				
			|||||||
          echo ${{ steps.platforms.outputs.matrix }}
 | 
					          echo ${{ steps.platforms.outputs.matrix }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  binaries:
 | 
					  binaries:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    needs:
 | 
					    needs:
 | 
				
			||||||
      - prepare-binaries
 | 
					      - prepare-binaries
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
@@ -273,7 +273,7 @@ jobs:
 | 
				
			|||||||
          if-no-files-found: error
 | 
					          if-no-files-found: error
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bin-image:
 | 
					  bin-image:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    needs:
 | 
					    needs:
 | 
				
			||||||
      - test-integration
 | 
					      - test-integration
 | 
				
			||||||
      - test-unit
 | 
					      - test-unit
 | 
				
			||||||
@@ -326,7 +326,7 @@ jobs:
 | 
				
			|||||||
            *.cache-to=type=gha,scope=bin-image,mode=max
 | 
					            *.cache-to=type=gha,scope=bin-image,mode=max
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  release:
 | 
					  release:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    needs:
 | 
					    needs:
 | 
				
			||||||
      - test-integration
 | 
					      - test-integration
 | 
				
			||||||
      - test-unit
 | 
					      - test-unit
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							@@ -17,7 +17,7 @@ env:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  codeql:
 | 
					  codeql:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Checkout
 | 
					        name: Checkout
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/docs-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs-release.yml
									
									
									
									
										vendored
									
									
								
							@@ -12,7 +12,7 @@ on:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  open-pr:
 | 
					  open-pr:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    if: ${{ (github.event.release.prerelease != true || github.event.inputs.tag != '') && github.repository == 'docker/buildx' }}
 | 
					    if: ${{ (github.event.release.prerelease != true || github.event.inputs.tag != '') && github.repository == 'docker/buildx' }}
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/docs-upstream.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs-upstream.yml
									
									
									
									
										vendored
									
									
								
							@@ -22,7 +22,7 @@ on:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  docs-yaml:
 | 
					  docs-yaml:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Checkout
 | 
					        name: Checkout
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							@@ -22,7 +22,7 @@ env:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							@@ -18,7 +18,7 @@ on:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  prepare:
 | 
					  prepare:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    outputs:
 | 
					    outputs:
 | 
				
			||||||
      includes: ${{ steps.matrix.outputs.includes }}
 | 
					      includes: ${{ steps.matrix.outputs.includes }}
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
@@ -67,7 +67,7 @@ jobs:
 | 
				
			|||||||
            });
 | 
					            });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  validate:
 | 
					  validate:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
    needs:
 | 
					    needs:
 | 
				
			||||||
      - prepare
 | 
					      - prepare
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user