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 df376cf commit 71609a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
executor:
description: Image of Kaniko executor
required: true
default: gcr.io/kaniko-project/executor:v1.20.1
default: gcr.io/kaniko-project/executor:v1.20.0
cache:
description: Enable caching layers
required: true
Expand Down
3 changes: 1 addition & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ 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(`/kaniko/action/outputs/digest`)
const digest = await readContent(`${outputsDir}/digest`)
core.info(digest)
return { digest }
}
Expand Down

0 comments on commit 71609a7

Please sign in to comment.