Skip to content

Commit 438846f

Browse files
authored
Remove ko sbom generation (#162)
Getting unauthorized error when trying to upload sbom to ghcr. Removing sbom for now to get working build. Signed-off-by: Cody Soyland <[email protected]>
1 parent 00470e1 commit 438846f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
mkdir -p ${{ env.KOCACHE }}
3737
# ko build should print ghcr.io/github/policy-controller-webhook@sha256:<digest>
3838
# to standard out. Capture the image digest for the build provenance step
39-
IMAGE_DIGEST=$(ko build --bare --tags $GIT_VERSION --tags $GIT_HASH --platform=linux/amd64 github.com/sigstore/policy-controller/cmd/webhook | cut -d'@' -f2)
39+
IMAGE_DIGEST=$(ko build --bare --tags $GIT_VERSION --tags $GIT_HASH --platform=linux/amd64 --sbom=none github.com/sigstore/policy-controller/cmd/webhook | cut -d'@' -f2)
4040
echo "image_digest=$IMAGE_DIGEST" >> $GITHUB_OUTPUT
4141
- name: Attest
4242
uses: actions/attest-build-provenance@951c0c5f8e375ad4efad33405ab77f7ded2358e4 # v1.1.1

0 commit comments

Comments
 (0)