Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add container scanner step #12

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

derekheld
Copy link

@derekheld derekheld commented Feb 26, 2025

Splits up the build and push steps and adds a container scan step before push. This allows container scans to block policy violating images from being pushed.

Change impacts I am aware of:
About 3 dozen repositories disable caching of the containers. This will cause a second container build as during second docker step where we perform the push it will not be able to leverage cache. I do not know why caching is disabled for those repositories but if we could enable caching that will save runner minutes.

If any containers are currently being built that wouldn't pass the policy (patchable critical/high vulnerabilities older than 30 days) this will block pushes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant