docs: add instructions for verifying SLSA provenance of Docker images
docs: update the documentation
This commit is contained in:
parent
144221b430
commit
d422e75e08
1 changed files with 28 additions and 0 deletions
|
@ -113,6 +113,34 @@ The following steps are necessary to build the binaries:
|
||||||
restic/builder \
|
restic/builder \
|
||||||
go run helpers/build-release-binaries/main.go --version 0.14.0 --verbose
|
go run helpers/build-release-binaries/main.go --version 0.14.0 --verbose
|
||||||
|
|
||||||
|
Verifying SLSA Provenance for Docker Images
|
||||||
|
*******************************************
|
||||||
|
|
||||||
|
Our Docker images are built with SLSA (Supply-chain Levels for Software Artifacts)
|
||||||
|
provenance.
|
||||||
|
|
||||||
|
To verify this provenance:
|
||||||
|
|
||||||
|
1. Install the `slsa-verifier` tool from https://github.com/slsa-framework/slsa-verifier
|
||||||
|
|
||||||
|
2. Run the following command:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ slsa-verifier verify-image \
|
||||||
|
--source-uri github.com/restic/restic \
|
||||||
|
<image-name>@<digest>
|
||||||
|
|
||||||
|
Replace `<tag>` with the Git tag of the release you're verifying, `<image-name>`
|
||||||
|
with the full name of the Docker image (including the registry), and `<digest>`
|
||||||
|
with the SHA256 digest of the image.
|
||||||
|
|
||||||
|
3. If the verification is successful, you'll see output indicating that the provenance
|
||||||
|
is valid.
|
||||||
|
|
||||||
|
This verification ensures that the Docker image was built by our official GitHub
|
||||||
|
Actions workflow and has not been tampered with since its creation.
|
||||||
|
|
||||||
Verifying the Official Binaries
|
Verifying the Official Binaries
|
||||||
*******************************
|
*******************************
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue