Skip to content

Commit

Permalink
Fix release workflow by including only intended artifacts. (#908)
Browse files Browse the repository at this point in the history
This commit fixes an issue introduced in #895 where Dependabot updated
the `docker/build-push-action` Action to major version 6 from 5. This
change [introduced the inclusion of Docker Build
Summaries](https://github.com/docker/build-push-action/releases/tag/v6.0.0),
which are build artifacts that end in `.dockerbuild` and are uploaded by
default. This change means we need to be more specific regarding the
artifacts we want to download and prepare for inclusion in a GitHub
Release itself. The build summaries are useful to have (so we don't turn
them off), but we don't want them included in the GitHub Release itself.
  • Loading branch information
vitropy authored Jun 24, 2024
1 parent dab2622 commit 2a2dfb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
pattern: "!*.dockerbuild"
- name: Create release
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 2a2dfb7

Please sign in to comment.