mirror of
				https://gitea.com/docker/build-push-action.git
				synced 2025-10-31 00:58:18 +07:00 
			
		
		
		
	Silent command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									1886d9322f
								
							
						
					
					
						commit
						8e7bb4ab28
					
				
							
								
								
									
										2
									
								
								setup-qemu/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								setup-qemu/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -1016,7 +1016,7 @@ function run() { | |||||||
|             core.info(`💎 Installing QEMU static binaries...`); |             core.info(`💎 Installing QEMU static binaries...`); | ||||||
|             yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); |             yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); | ||||||
|             core.info('🛒 Extracting available platforms...'); |             core.info('🛒 Extracting available platforms...'); | ||||||
|             yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => { |             yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => { | ||||||
|                 if (res.stderr != '' && !res.success) { |                 if (res.stderr != '' && !res.success) { | ||||||
|                     throw new Error(res.stderr); |                     throw new Error(res.stderr); | ||||||
|                 } |                 } | ||||||
|  | |||||||
| @ -21,7 +21,7 @@ async function run(): Promise<void> { | |||||||
|     await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); |     await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); | ||||||
| 
 | 
 | ||||||
|     core.info('🛒 Extracting available platforms...'); |     core.info('🛒 Extracting available platforms...'); | ||||||
|     await exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => { |     await exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => { | ||||||
|       if (res.stderr != '' && !res.success) { |       if (res.stderr != '' && !res.success) { | ||||||
|         throw new Error(res.stderr); |         throw new Error(res.stderr); | ||||||
|       } |       } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user