diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c8269a..e81259c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,6 +75,13 @@ jobs: image: ${{ steps.image-matrix.outputs.image }} steps: - uses: actions/checkout@v4 + - name: Preload Trivy DB + uses: nick-invision/retry@v3 + with: + timeout_minutes: 120 + retry_wait_seconds: 1 + max_attempts: 13 + command: docker pull "ghcr.io/aquasecurity/trivy-db:2" - id: image-matrix name: Generate Combined Image Matrix run: | diff --git a/test-nts.sh b/test-nts.sh index d2a31b7..6ddcd9b 100755 --- a/test-nts.sh +++ b/test-nts.sh @@ -58,4 +58,4 @@ docker run --rm -t \ renatomefi/docker-testinfra:5 \ -m "$TEST_SUITE" --junitxml="/results/php-nts-$DOCKER_TAG.xml" \ --disable-pytest-warnings \ - --verbose --hosts="docker://$DOCKER_CONTAINER" \ No newline at end of file + --verbose --hosts="docker://$DOCKER_CONTAINER" diff --git a/test-zts.sh b/test-zts.sh index 8f7650b..a3356ad 100755 --- a/test-zts.sh +++ b/test-zts.sh @@ -58,4 +58,4 @@ docker run --rm -t \ renatomefi/docker-testinfra:5 \ -m "$TEST_SUITE" --junitxml="/results/php-zts-$DOCKER_TAG.xml" \ --disable-pytest-warnings \ - --verbose --hosts="docker://$DOCKER_CONTAINER" \ No newline at end of file + --verbose --hosts="docker://$DOCKER_CONTAINER"