mirror of
https://github.com/docker/build-push-action.git
synced 2026-09-15 02:07:16 +08:00
Merge pull request #1617 from crazy-max/fix-metadata-workflow-commands
prevent workflow command injection in metadata logs
This commit is contained in:
commit
03b4d6cac0
52
dist/index.cjs
generated
vendored
52
dist/index.cjs
generated
vendored
File diff suppressed because one or more lines are too long
4
dist/index.cjs.map
generated
vendored
4
dist/index.cjs.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -137,7 +137,7 @@ actionsToolkit.run(
|
|||||||
if (metadata) {
|
if (metadata) {
|
||||||
await core.group(`Metadata`, async () => {
|
await core.group(`Metadata`, async () => {
|
||||||
const metadatadt = JSON.stringify(metadata, null, 2);
|
const metadatadt = JSON.stringify(metadata, null, 2);
|
||||||
core.info(metadatadt);
|
GitHub.printUntrusted(metadatadt);
|
||||||
core.setOutput('metadata', metadatadt);
|
core.setOutput('metadata', metadatadt);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user