Skip to content

Commit 84ad562

Browse files
authored
Merge pull request #1337 from crazy-max/note-download-artifact
note about usage of summary feature with download-artifact action
2 parents 471d1dc + 9bea05f commit 84ad562

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,19 @@ additional details about the build, including build stats, logs, outputs, and
185185
more. The build record can be imported to Docker Desktop for inspecting the
186186
build in greater detail.
187187

188+
> [!WARNING]
189+
>
190+
> If you're using the [`actions/download-artifact`](https://github.com/actions/download-artifact)
191+
> action in your workflow, you need to ignore the build record artifacts
192+
> 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),
193+
> otherwise the action will fail:
194+
> ```yaml
195+
> - uses: actions/download-artifact@v4
196+
> with:
197+
> pattern: "!*.dockerbuild"
198+
> ```
199+
> More info: https://github.com/actions/toolkit/pull/1874
200+
188201
Summaries are enabled by default, but can be disabled with the
189202
`DOCKER_BUILD_SUMMARY` [environment variable](#environment-variables).
190203

0 commit comments

Comments
 (0)