From f7a0604619a985eba962ab45d2463dcf8dace3b8 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 7 Mar 2025 14:36:28 +0100 Subject: [PATCH] note about usage of summary feature with download-artifact action Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 67a2744..148fa75 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,19 @@ additional details about the build execution for all the bake targets, including build stats, logs, outputs, and more. The build record can be imported to Docker Desktop for inspecting the build in greater detail. +> [!WARNING] +> +> If you're using the [`actions/download-artifact`](https://github.com/actions/download-artifact) +> action in your workflow, you need to ignore the build record artifacts +> if `name` and `pattern` inputs are not specified ([defaults to download all artifacts](https://github.com/actions/download-artifact?tab=readme-ov-file#download-all-artifacts) of the workflow), +> otherwise the action will fail: +> ```yaml +> - uses: actions/download-artifact@v4 +> with: +> pattern: "!*.dockerbuild" +> ``` +> More info: https://github.com/actions/toolkit/pull/1874 + Summaries are enabled by default, but can be disabled with the `DOCKER_BUILD_SUMMARY` [environment variable](#environment-variables).