diff --git a/.github/workflows/trivy-cache.yml b/.github/workflows/trivy-cache.yml index 73f5c5884..585449167 100644 --- a/.github/workflows/trivy-cache.yml +++ b/.github/workflows/trivy-cache.yml @@ -36,10 +36,10 @@ jobs: - name: Push Trivy Images id: push run: | - oras push ghcr.io/${{ env.repo_name }}/trivy-db:latest \ + oras push ghcr.io/${{ env.repo_name }}/trivy-db:2 \ db.tar.gz:application/vnd.aquasec.trivy.db.layer.v1.tar+gzip \ --artifact-type application/vnd.aquasec.trivy.config.v1+json - oras push ghcr.io/${{ env.repo_name }}/trivy-java-db:latest \ + oras push ghcr.io/${{ env.repo_name }}/trivy-java-db:1 \ javadb.tar.gz:application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip \ --artifact-type application/vnd.aquasec.trivy.config.v1+json