Skip to content

chore: fix trivy workflow by using mcr trivy images#948

Merged
zhiying-lin merged 2 commits intoAzure:mainfrom
jwtty:trivy-fix
Nov 11, 2024
Merged

chore: fix trivy workflow by using mcr trivy images#948
zhiying-lin merged 2 commits intoAzure:mainfrom
jwtty:trivy-fix

Conversation

@jwtty
Copy link
Contributor

@jwtty jwtty commented Nov 8, 2024

Description of your changes

The trivy action was failing from time to time due to throttling when pulling trivy image from ghcr.io registry. Thus we switch to use mcr instead.

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Tested here: https://github.com/Azure/fleet/actions/runs/11749964574/job/32737242689

08T21:44:27Z INFO [vulndb] Artifact successfully downloaded repo="mcr.microsoft.com/mirror/ghcr/aquasecurity/trivy-db:2"

Special notes for your reviewer

@zhiying-lin zhiying-lin merged commit 67c349a into Azure:main Nov 11, 2024
@jwtty jwtty deleted the trivy-fix branch November 11, 2024 17:59
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