Skip to content

Commit 8f9e95c

Browse files
authored
Merge pull request #308 from crazy-max/note-download-artifact
note about usage of summary feature with download-artifact action
2 parents 4ba453f + f7a0604 commit 8f9e95c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,19 @@ additional details about the build execution for all the bake targets,
157157
including build stats, logs, outputs, and more. The build record can be
158158
imported to Docker Desktop for inspecting the build in greater detail.
159159

160+
> [!WARNING]
161+
>
162+
> If you're using the [`actions/download-artifact`](https://github.com/actions/download-artifact)
163+
> action in your workflow, you need to ignore the build record artifacts
164+
> 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),
165+
> otherwise the action will fail:
166+
> ```yaml
167+
> - uses: actions/download-artifact@v4
168+
> with:
169+
> pattern: "!*.dockerbuild"
170+
> ```
171+
> More info: https://github.com/actions/toolkit/pull/1874
172+
160173
Summaries are enabled by default, but can be disabled with the
161174
`DOCKER_BUILD_SUMMARY` [environment variable](#environment-variables).
162175

0 commit comments

Comments
 (0)