We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4384ee4 commit 8ca0024Copy full SHA for 8ca0024
src/run.ts
@@ -31,7 +31,15 @@ export const run = async (inputs: Inputs): Promise<Outputs> => {
31
32
const outputDir = await fs.mkdtemp(`${os.tmpdir()}/kaniko-action-`)
33
const args = generateArgs(inputs, outputDir)
34
- await withTime('Built', () => core.group('Build', () => exec.exec('docker', args)))
+ await withTime('Built', () =>
35
+ core.group('Build', async () => {
36
+ const output = await exec.getExecOutput('docker', args)
37
+ core.summary.addHeading(`kaniko build`)
38
+ core.summary.addCodeBlock(`docker ${args.join(' ')}`)
39
+ core.summary.addCodeBlock(output.stdout)
40
+ })
41
+ )
42
+ await core.summary.write()
43
44
const digest = await readContent(`${outputDir}/digest`)
45
core.info(digest)
0 commit comments