Merge pull request #71 from crazy-max/remove-limitation
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				ci / main () (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / main (latest) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / main (v0.4.1) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / multi (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / error (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / debug (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / install (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / use (false) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / use (true) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / driver (image=moby/buildkit:latest) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / driver (image=moby/buildkit:master
network=host
) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / docker-driver (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / endpoint (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / config (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (, all) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (, arm64,riscv64,arm) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (latest, all) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (latest, arm64,riscv64,arm) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (v0.4.1, all) (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				ci / with-qemu (v0.4.1, arm64,riscv64,arm) (push) Has been cancelled
				
					
					
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	ci / main () (push) Has been cancelled
				ci / main (latest) (push) Has been cancelled
				ci / main (v0.4.1) (push) Has been cancelled
				ci / multi (push) Has been cancelled
				ci / error (push) Has been cancelled
				ci / debug (push) Has been cancelled
				ci / install (push) Has been cancelled
				ci / use (false) (push) Has been cancelled
				ci / use (true) (push) Has been cancelled
				ci / driver (image=moby/buildkit:latest) (push) Has been cancelled
				ci / driver (image=moby/buildkit:master
network=host
) (push) Has been cancelled
				ci / docker-driver (push) Has been cancelled
				ci / endpoint (push) Has been cancelled
				ci / config (push) Has been cancelled
				ci / with-qemu (, all) (push) Has been cancelled
				ci / with-qemu (, arm64,riscv64,arm) (push) Has been cancelled
				ci / with-qemu (latest, all) (push) Has been cancelled
				ci / with-qemu (latest, arm64,riscv64,arm) (push) Has been cancelled
				ci / with-qemu (v0.4.1, all) (push) Has been cancelled
				ci / with-qemu (v0.4.1, arm64,riscv64,arm) (push) Has been cancelled
				Remove os limitation
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -77,6 +77,34 @@ jobs: | ||||
|           echo "Flags:     ${{ steps.buildx2.outputs.flags }}" | ||||
|           echo "Platforms: ${{ steps.buildx2.outputs.platforms }}" | ||||
|  | ||||
|   error: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|       - | ||||
|         name: Stop docker | ||||
|         run: | | ||||
|           sudo systemctl stop docker | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         id: buildx | ||||
|         continue-on-error: true | ||||
|         uses: ./ | ||||
|       - | ||||
|         name: Check | ||||
|         run: | | ||||
|           echo "${{ toJson(steps.buildx) }}" | ||||
|           if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then | ||||
|             echo "::error::Should have failed" | ||||
|             exit 1 | ||||
|           fi | ||||
|       - | ||||
|         name: Dump context | ||||
|         if: always() | ||||
|         uses: crazy-max/ghaction-dump-context@v1 | ||||
|  | ||||
|   debug: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|   | ||||
| @@ -28,7 +28,6 @@ ___ | ||||
| * [Notes](#notes) | ||||
|   * [BuildKit container logs](#buildkit-container-logs) | ||||
| * [Keep up-to-date with GitHub Dependabot](#keep-up-to-date-with-github-dependabot) | ||||
| * [Limitation](#limitation) | ||||
|  | ||||
| ## Usage | ||||
|  | ||||
| @@ -200,7 +199,3 @@ updates: | ||||
|     schedule: | ||||
|       interval: "daily" | ||||
| ``` | ||||
|  | ||||
| ## Limitation | ||||
|  | ||||
| This action is only available for Linux [virtual environments](https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#supported-virtual-environments-and-hardware-resources). | ||||
|   | ||||
							
								
								
									
										8
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -522,10 +522,10 @@ function run() { | ||||
|     var _a; | ||||
|     return __awaiter(this, void 0, void 0, function* () { | ||||
|         try { | ||||
|             if (os.platform() !== 'linux') { | ||||
|                 core.setFailed('Only supported on linux platform'); | ||||
|                 return; | ||||
|             } | ||||
|             core.startGroup(`Docker info`); | ||||
|             yield exec.exec('docker', ['version']); | ||||
|             yield exec.exec('docker', ['info']); | ||||
|             core.endGroup(); | ||||
|             const inputs = yield context.getInputs(); | ||||
|             const dockerConfigHome = process.env.DOCKER_CONFIG || path.join(os.homedir(), '.docker'); | ||||
|             if (!(yield buildx.isAvailable()) || inputs.version) { | ||||
|   | ||||
| @@ -10,10 +10,10 @@ import * as stateHelper from './state-helper'; | ||||
|  | ||||
| async function run(): Promise<void> { | ||||
|   try { | ||||
|     if (os.platform() !== 'linux') { | ||||
|       core.setFailed('Only supported on linux platform'); | ||||
|       return; | ||||
|     } | ||||
|     core.startGroup(`Docker info`); | ||||
|     await exec.exec('docker', ['version']); | ||||
|     await exec.exec('docker', ['info']); | ||||
|     core.endGroup(); | ||||
|  | ||||
|     const inputs: context.Inputs = await context.getInputs(); | ||||
|     const dockerConfigHome: string = process.env.DOCKER_CONFIG || path.join(os.homedir(), '.docker'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 CrazyMax
					CrazyMax