File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,14 +38,21 @@ jobs:
3838 - uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3939 with :
4040 go-version : stable
41+ # The setup-buildx-action enables the docker-container driver, which allows
42+ # SBOM generation for the resulting container image using the syft
43+ # container which is automatically pulled and run during the container
44+ # image build. However, because the release process also generates an SBOM
45+ # for the binaries attached to the GitHub release (see the "sboms" section
46+ # in .gorleaser.yaml), it also needs to install syft into the action
47+ # environment.
4148 - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
49+ - uses : anchore/sbom-action/download-syft@a930d0ac434e3182448fe678398ba5713717112a # v0.21.0
4250 - name : Login to GHCR
4351 uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
4452 with :
4553 registry : ghcr.io
4654 username : ${{ github.repository_owner }}
4755 password : ${{ secrets.GITHUB_TOKEN }}
48- - uses : anchore/sbom-action/download-syft@a930d0ac434e3182448fe678398ba5713717112a # v0.21.0
4956 - uses : goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
5057 id : goreleaser
5158 with :
You can’t perform that action at this time.
0 commit comments