Add back cosign verify fix
Description
This MR attempts to re-implement the cosign verify fix (!1159 (merged)) and updates the cosign verify function to support v2.0.
Risk
Med - Updating three stages (lint, build, & scan logic)
Rollback Plan
Revert MR
Testing
- Openjdk11: https://code-ib-mario.staging.dso.mil/dsop/chrome-dome/openjdk11/-/pipelines/5273
- UBI8: https://code-ib-mario.staging.dso.mil/dsop/chrome-dome/ubi8/-/pipelines/5271
- Python39: https://code-ib-mario.staging.dso.mil/dsop/opensource/python/python39/-/pipelines/5280
Closes #847 (closed)
Edited by Cody Miller