Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom buildTypes? #195

Open
arianvp opened this issue Jan 9, 2025 · 0 comments
Open

Support custom buildTypes? #195

arianvp opened this issue Jan 9, 2025 · 0 comments

Comments

@arianvp
Copy link

arianvp commented Jan 9, 2025

I'm trying to upload a SLSA predicate with a custom buildType

https://github.com/arianvp/nix-attest/blob/86781ad55047cefbe3ae8ea8fd2fab838aedc36b/hook.sh#L59
https://github.com/arianvp/nix-attest/blob/86781ad55047cefbe3ae8ea8fd2fab838aedc36b/.github/workflows/ci.yml#L68

However during upload I get an error:

https://github.com/arianvp/nix-attest/actions/runs/12681357992/job/35344912224

Error: Error: Failed to persist attestation: Invalid Argument - unsupported build type: https://nixos.org/build/v1 - https://docs.github.com/rest/repos/repos#create-an-attestation

however nowhere is documented what build types are supported. Furthermore It would be great if custom build types are allowed just like custom predicate types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant