diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f8bb5dbb..bc2c3de7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -156,6 +156,11 @@ jobs: image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}' format: 'sarif' output: 'trivy-results.sarif' + cache: 'true' + exit-code: 0 + env: + TRIVY_SKIP_DB_UPDATE: true + TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Upload Trivy apigeecli SARIF Report uses: github/codeql-action/upload-sarif@4f3212b61783c3c68e8309a0f18a699764811cda diff --git a/.github/workflows/gen-docs.yml b/.github/workflows/gen-docs.yml index 1bc8796b..2be5c83e 100644 --- a/.github/workflows/gen-docs.yml +++ b/.github/workflows/gen-docs.yml @@ -44,7 +44,7 @@ jobs: git fetch origin git checkout gh_pages - git reset --hard origin/main + git merge main GOBIN=/tmp/ go install github.com/google/go-licenses@v1.0.0 /tmp/go-licenses csv ./cmd/apigeecli > third-party-licenses.txt || echo "Ignore warnings"