Skip to content

Commit

Permalink
kaniko digest
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Chavkov committed Feb 12, 2024
1 parent 555c010 commit df376cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export const run = async (inputs: Inputs): Promise<Outputs> => {
const args = generateArgs(inputs, outputsDir)
await withTime('Built', () => exec.exec('docker', args))

const digest = await readContent(`${outputsDir}/digest`)
// const digest = await readContent(`${outputsDir}/digest`)
const digest = await readContent(`/kaniko/action/outputs/digest`)
core.info(digest)
return { digest }
}
Expand Down

0 comments on commit df376cf

Please sign in to comment.