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 delay mechanism for trivy scan job #2506

Merged
merged 1 commit into from
Feb 5, 2024
Merged

add delay mechanism for trivy scan job #2506

merged 1 commit into from
Feb 5, 2024

Conversation

DaMandal0rian
Copy link
Member

@DaMandal0rian DaMandal0rian commented Feb 5, 2024

This PR fixes the trivy scanning workflow, to wait for docker images to be available in github container registry after they are built. The current problem is that when the dispatch event is triggered and trivy runs the scan, the container building jobs have not completed from the Snapshot build workflow, so there are no docker images available in the container registry. A job is added to check if docker images are available first, and when they are the trivy scan container jobs are executed.

Code contributor checklist:

@DaMandal0rian DaMandal0rian removed the request for review from rg3l3dr February 5, 2024 12:32
@DaMandal0rian DaMandal0rian added this pull request to the merge queue Feb 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2024
@nazar-pc nazar-pc merged commit 7333974 into main Feb 5, 2024
9 checks passed
@nazar-pc nazar-pc deleted the fix-trivy branch February 5, 2024 20:19
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