diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index aae5763..18b30ec 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -32,9 +32,5 @@ jobs: version: v0.66.0 - name: Setup DB uses: ./setup-db - with: - cache-dir: ${{ runner.temp }}/trivy - name: Run Trivy - env: - TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy - run: trivy fs --skip-db-update . + run: trivy fs --skip-db-update --cache-dir ${{ runner.temp }}/trivy .