File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 2828 build-pack-publish :
2929 runs-on : windows-latest
3030 permissions :
31+ attestations : write
3132 contents : read
3233 id-token : write
3334 env :
7576 }
7677 }
7778
79+ - name : Create GitHub attestations for DLLs
80+ uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
81+ with :
82+ subject-path : |
83+ ./artifacts/bin/*/release_*/OpenTelemetry*.dll
84+
7885 - name : dotnet pack
7986 shell : pwsh
8087 env :
Original file line number Diff line number Diff line change @@ -216,6 +216,23 @@ cosign verify-blob \
216216For more verification options please refer to the [ cosign
217217documentation] ( https://github.com/sigstore/cosign/blob/main/doc/cosign_verify-blob.md ) .
218218
219+ ### Attestation
220+
221+ Starting with the ` 1.14.0 ` release the DLLs included in the packages pushed to
222+ NuGet are attested using [ GitHub Artifact attestations] ( https://docs.github.com/actions/concepts/security/artifact-attestations ) .
223+
224+ To verify the attestation of a DLL inside a NuGet package use the [ GitHub CLI] ( https://cli.github.com/ ) :
225+
226+ ``` bash
227+ gh attestation verify --owner open-telemetry .\O penTelemetry.dll
228+ ```
229+
230+ > [ !NOTE]
231+ > A successful verification outputs ` Verification succeeded! ` .
232+
233+ For more verification options please refer to the [ ` gh attestation verify `
234+ documentation] ( https://cli.github.com/manual/gh_attestation_verify ) .
235+
219236## Contributing
220237
221238For information about contributing to the project see:
You can’t perform that action at this time.
0 commit comments