Skip to content

Commit

Permalink
allow ghcr docker image (#707)
Browse files Browse the repository at this point in the history
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.

ossf/scorecard-action#1453

Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock authored Nov 13, 2024
1 parent bb88eb9 commit 7415c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/verify_workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
}
Expand Down

0 comments on commit 7415c7a

Please sign in to comment.