mirror of
				https://github.com/docker/setup-qemu-action.git
				synced 2025-10-31 09:10:10 +08:00 
			
		
		
		
	Merge pull request #189 from crazy-max/bake-v6
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				ci / default (push) Failing after 17s
				
			
		
			
				
	
				ci / main (tonistiigi/binfmt:latest, all) (push) Failing after 24s
				
			
		
			
				
	
				ci / main (tonistiigi/binfmt:master, all) (push) Failing after 18s
				
			
		
			
				
	
				ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Failing after 33s
				
			
		
			
				
	
				ci / main (tonistiigi/binfmt:master, arm64,riscv64,arm) (push) Failing after 18s
				
			
		
			
				
	
				ci / error (push) Failing after 19s
				
			
		
			
				
	
				ci / cache-image (true) (push) Failing after 21s
				
			
		
			
				
	
				ci / cache-image (false) (push) Failing after 30s
				
			
		
			
				
	
				test / test (push) Failing after 27s
				
			
		
			
				
	
				validate / prepare (push) Failing after 45s
				
			
		
			
				
	
				validate / validate (push) Has been skipped
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	ci / default (push) Failing after 17s
				
			ci / main (tonistiigi/binfmt:latest, all) (push) Failing after 24s
				
			ci / main (tonistiigi/binfmt:master, all) (push) Failing after 18s
				
			ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Failing after 33s
				
			ci / main (tonistiigi/binfmt:master, arm64,riscv64,arm) (push) Failing after 18s
				
			ci / error (push) Failing after 19s
				
			ci / cache-image (true) (push) Failing after 21s
				
			ci / cache-image (false) (push) Failing after 30s
				
			test / test (push) Failing after 27s
				
			validate / prepare (push) Failing after 45s
				
			validate / validate (push) Has been skipped
				
			update bake-action to v6
This commit is contained in:
		
						commit
						e5daf5da4e
					
				
							
								
								
									
										5
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,12 +15,9 @@ jobs: | ||||
|   test: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Test | ||||
|         uses: docker/bake-action@v5 | ||||
|         uses: docker/bake-action@v6 | ||||
|         with: | ||||
|           targets: test | ||||
|       - | ||||
|  | ||||
							
								
								
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,16 +15,17 @@ jobs: | ||||
|   prepare: | ||||
|     runs-on: ubuntu-latest | ||||
|     outputs: | ||||
|       targets: ${{ steps.targets.outputs.matrix }} | ||||
|       targets: ${{ steps.generate.outputs.targets }} | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Targets matrix | ||||
|         id: targets | ||||
|         run: | | ||||
|           echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT | ||||
|         name: List targets | ||||
|         id: generate | ||||
|         uses: docker/bake-action/subaction/list-targets@v6 | ||||
|         with: | ||||
|           target: validate | ||||
| 
 | ||||
|   validate: | ||||
|     runs-on: ubuntu-latest | ||||
| @ -35,11 +36,8 @@ jobs: | ||||
|       matrix: | ||||
|         target: ${{ fromJson(needs.prepare.outputs.targets) }} | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Validate | ||||
|         uses: docker/bake-action@v5 | ||||
|         uses: docker/bake-action@v6 | ||||
|         with: | ||||
|           targets: ${{ matrix.target }} | ||||
|  | ||||
| @ -1,3 +1,9 @@ | ||||
| target "_common" { | ||||
|   args = { | ||||
|     BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1 | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| group "default" { | ||||
|   targets = ["build"] | ||||
| } | ||||
| @ -11,42 +17,49 @@ group "validate" { | ||||
| } | ||||
| 
 | ||||
| target "build" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "build-update" | ||||
|   output = ["."] | ||||
| } | ||||
| 
 | ||||
| target "build-validate" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "build-validate" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
| 
 | ||||
| target "format" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "format-update" | ||||
|   output = ["."] | ||||
| } | ||||
| 
 | ||||
| target "lint" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "lint" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
| 
 | ||||
| target "vendor" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "vendor-update" | ||||
|   output = ["."] | ||||
| } | ||||
| 
 | ||||
| target "vendor-validate" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "vendor-validate" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
| 
 | ||||
| target "test" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "test-coverage" | ||||
|   output = ["./coverage"] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax