Skip to content

Commit

Permalink
Merge pull request #1513 from ministryofjustice/MLPAB-2549-create-a-p…
Browse files Browse the repository at this point in the history
…ull-through-cache-for-the-public-ecr-image-to-avoid-rate-limits-there

MLPAB-2549 create a pull through cache for the public ecr image to avoid rate limits there
  • Loading branch information
andrewpearce-digital authored Sep 27, 2024
2 parents 6bd48b8 + d5e228d commit 35e4215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
id: trivy_scan
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
TRIVY_DB_REPOSITORY: ${{ steps.login_ecr.outputs.registry }}/trivy-db-public-ecr/aquasecurity/trivy-db:2
with:
image-ref: ${{ matrix.ecr_repository }}:${{ inputs.tag }}
severity: 'HIGH,CRITICAL'
Expand Down

0 comments on commit 35e4215

Please sign in to comment.