From 7415c7a953efd1534d3ad13bb0fc19ee7e751c1a Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Wed, 13 Nov 2024 11:39:34 -0700 Subject: [PATCH] allow ghcr docker image (#707) With the switch to GHCR we'll need to support both images for e2e testing. Eventually we can remove the gcr.io case if needed. https://github.com/ossf/scorecard-action/pull/1453 Signed-off-by: Spencer Schrock --- app/server/verify_workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/verify_workflow.go b/app/server/verify_workflow.go index ac54325a..aaa69692 100644 --- a/app/server/verify_workflow.go +++ b/app/server/verify_workflow.go @@ -182,7 +182,7 @@ func verifyScorecardWorkflow(workflowContent string, verifier commitVerifier) er } } // Needed for e2e tests - case "gcr.io/openssf/scorecard-action": + case "gcr.io/openssf/scorecard-action", "ghcr.io/ossf/scorecard-action": default: return verificationError{e: fmt.Errorf("%w: %s", errUnallowedStepName, stepName)} }