Currently, we test artifacts before creating a release and then upon creating a release we build them again and then publish without testing. This can cause an issue where we could pull in (for example) a bad, updated registry1 image and we cant have absolute confidence the published artifact works. This issue will be to update the flow on release as follows:
Create Release -> build packages supporting the release -> test the built packages by deploying them -> on successful deploy, publish the artifacts to OCI.
Currently, we test artifacts before creating a release and then upon creating a release we build them again and then publish without testing. This can cause an issue where we could pull in (for example) a bad, updated registry1 image and we cant have absolute confidence the published artifact works. This issue will be to update the flow on release as follows:
Create Release -> build packages supporting the release -> test the built packages by deploying them -> on successful deploy, publish the artifacts to OCI.
Relates to: https://github.com/defenseunicorns/uds-software-factory/issues/30