mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 18:06:46 +00:00
DOCKER_BUILD_NO_SUMMARY env to disable summary
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d880b1964b
commit
667cb22c52
3 changed files with 34 additions and 0 deletions
|
@ -141,6 +141,10 @@ actionsToolkit.run(
|
|||
async () => {
|
||||
if (stateHelper.buildRef.length > 0) {
|
||||
await core.group(`Generating build summary`, async () => {
|
||||
if (process.env.DOCKER_BUILD_NO_SUMMARY && Util.parseBool(process.env.DOCKER_BUILD_NO_SUMMARY)) {
|
||||
core.info('Summary disabled');
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const buildxHistory = new BuildxHistory();
|
||||
const exportRes = await buildxHistory.export({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue