diff --git a/cmd/main.go b/cmd/main.go index 0c43fe2..8ddf593 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -12,8 +12,10 @@ import ( "github.com/tinfoilanalytics/verifier/pkg/sigstore" ) +const repo = "tinfoilanalytics/nitro-enclave-pipeline-test" + func gitHubAttestation(digest string) ([]byte, error) { - bundleResponse, err := http.Get("https://api.github.com/repos/tinfoilanalytics/nitro-enclave-pipeline-test/attestations/sha256:" + digest) + bundleResponse, err := http.Get("https://api.github.com/repos/" + repo + "/attestations/sha256:" + digest) if err != nil { return nil, err }