mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-10-23 08:56:05 +08:00 
			
		
		
		
	switch to Docker exec
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
		| @@ -181,7 +181,7 @@ actionsToolkit.run( | |||||||
|   async () => { |   async () => { | ||||||
|     if (stateHelper.IsDebug && stateHelper.containerName.length > 0) { |     if (stateHelper.IsDebug && stateHelper.containerName.length > 0) { | ||||||
|       await core.group(`BuildKit container logs`, async () => { |       await core.group(`BuildKit container logs`, async () => { | ||||||
|         await Exec.getExecOutput('docker', ['logs', `${stateHelper.containerName}`], { |         await Docker.getExecOutput(['logs', `${stateHelper.containerName}`], { | ||||||
|           ignoreReturnCode: true |           ignoreReturnCode: true | ||||||
|         }).then(res => { |         }).then(res => { | ||||||
|           if (res.stderr.length > 0 && res.exitCode != 0) { |           if (res.stderr.length > 0 && res.exitCode != 0) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user