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

IT-3921: Fix periodic image scan and image rebuild #8

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

brucehoff
Copy link
Contributor

This PR has two changes:
(1) Downloading the trivy-db from its default GitHub location fails because the site experiences too many downloads. The fix is to pull from an alternate location, hosted in AWS ECR;
(2) The logic to rebuild the image when the Trivy job fails didn't work. The evidence is here. The if condition for the update-image job needs to start with always() && or, alternatively, !cancelled() &&. While logically adding TRUE && should make no change, this is required for GitHub Workflows to work correctly, as discussed here.

@brucehoff brucehoff requested a review from a team November 5, 2024 15:57
@brucehoff brucehoff merged commit 38cb942 into Sage-Bionetworks-IT:main Nov 6, 2024
6 checks passed
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.

2 participants