diff --git a/dist/index.js b/dist/index.js index ab1deeae..cd6b472a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -79927,7 +79927,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.createAttestation = void 0; const attest_1 = __nccwpck_require__(74113); const oci_1 = __nccwpck_require__(47353); -const OCI_TIMEOUT = 2000; +const OCI_TIMEOUT = 30000; const OCI_RETRY = 3; const createAttestation = async (subject, predicate, opts) => { // Sign provenance w/ Sigstore diff --git a/src/attest.ts b/src/attest.ts index 49e97059..187ffef5 100644 --- a/src/attest.ts +++ b/src/attest.ts @@ -1,7 +1,7 @@ import { Attestation, Predicate, Subject, attest } from '@actions/attest' import { attachArtifactToImage, getRegistryCredentials } from '@sigstore/oci' -const OCI_TIMEOUT = 2000 +const OCI_TIMEOUT = 30000 const OCI_RETRY = 3 export type SigstoreInstance = 'public-good' | 'github'