diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40293811..a1cc387d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,6 +123,12 @@ jobs: with: setup-java: false + - name: Attest build provenance + if: steps.verify-files.outputs.should_release == 'true' + uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 + with: + subject-path: "${{ github.workspace }}/out/jreleaser/catalogs/github/docling-java-${{ env.CURRENT_VERSION }}" + # Persist logs - name: JReleaser release output if: always() diff --git a/jreleaser.yml b/jreleaser.yml index 8cbc5506..24dfb7e7 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -34,7 +34,8 @@ project: signing: active: ALWAYS - armored: true + pgp: + armored: true release: github: @@ -76,6 +77,10 @@ checksum: algorithms: - SHA_256 +catalog: + github: + active: ALWAYS + deploy: maven: mavenCentral: @@ -90,5 +95,6 @@ deploy: - build/staging-deploy announce: - discord: - active: ALWAYS + webhooks: + discord: + active: ALWAYS