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 13, 2024
1 parent d423e9a commit ba814d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const main = async (): Promise<void> => {
tags: core.getMultilineInput('tags'),
target: core.getInput('target'),
})
core.setOutput('digest', outputs.digest)
// core.setOutput('digest', outputs.digest)
}

main().catch((e: Error) => {
Expand Down
5 changes: 2 additions & 3 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ export const run = async (inputs: Inputs): Promise<Outputs> => {
await core.group(`Pulling ${inputs.executor}`, () =>
withTime('Pulled', () => exec.exec('docker', ['pull', '-q', inputs.executor])),
)
// const digest = await readContent(`${outputsDir}/digest`)
// core.info(digest)
let digest = 'sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef0'
const digest = await readContent(`${outputsDir}/digest`)
core.info(digest)
return { digest }
}

Expand Down

0 comments on commit ba814d7

Please sign in to comment.