mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
chore: update go tests to use our hosted trivy-db and trivy-java-db images (#2754)
There are 2 remaining exceptions that I am aware of: 1. The tests under test/blackbox/cve.bats 2. One of the cli tests checking the server attempts download of the databases from the default url Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -44,6 +44,8 @@ jobs:
|
||||
run: |
|
||||
oras login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
|
||||
oras copy ghcr.io/aquasecurity/trivy-db:2 ghcr.io/${{ github.repository_owner }}/trivy-db:2
|
||||
oras copy ghcr.io/aquasecurity/trivy-db:latest ghcr.io/${{ github.repository_owner }}/trivy-db:latest
|
||||
oras copy ghcr.io/aquasecurity/trivy-java-db:1 ghcr.io/${{ github.repository_owner }}/trivy-java-db:1
|
||||
sync-localstack:
|
||||
name: 'localstack'
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user