diff --git a/.github/workflows/build-test-push.yml b/.github/workflows/build-test-push.yml index 3fbf343..8a9c4d9 100644 --- a/.github/workflows/build-test-push.yml +++ b/.github/workflows/build-test-push.yml @@ -29,6 +29,9 @@ jobs: vuln-type: os timeout: 10m0s skip-files: "/root/.pdk/cache/ruby/*/gems/aws-sdk-core-*/lib/aws-sdk-ssooidc/client.rb" + env: + TRIVY_SKIP_DB_UPDATE: true + TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run tests run: cd tests; ./run_tests.sh - name: Tag Docker images diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9233c84..576524e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -28,6 +28,9 @@ jobs: vuln-type: os timeout: 10m0s skip-files: "/root/.pdk/cache/ruby/*/gems/aws-sdk-core-*/lib/aws-sdk-ssooidc/client.rb" + env: + TRIVY_SKIP_DB_UPDATE: true + TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run tests working-directory: ${{ github.workspace }}/tests run: ./run_tests.sh diff --git a/.github/workflows/publish-4x-image.yml b/.github/workflows/publish-4x-image.yml index 4e2b077..772e22c 100644 --- a/.github/workflows/publish-4x-image.yml +++ b/.github/workflows/publish-4x-image.yml @@ -33,6 +33,9 @@ jobs: vuln-type: os timeout: 10m0s skip-files: "/root/.pdk/cache/ruby/*/gems/aws-sdk-core-*/lib/aws-sdk-ssooidc/client.rb" + env: + TRIVY_SKIP_DB_UPDATE: true + TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Publish standard image to 4.x env: IMAGE_TAG: ${{ github.event.inputs.image_tag }}