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 ba814d7 commit aa630bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ 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`)
const digest = await readContent("${outputsDir}/digest")
core.info(digest)
return { digest }
}
Expand Down

0 comments on commit aa630bd

Please sign in to comment.