Example project builds a simple binary using a variety of SLSA-compliant builders.
The code is built using bazelisk build
:
- Bazelisk reads .bazelversion, fetches the correct version of Bazel, and
then runs
bazel build
. - Bazel reads WORKSPACE, fetches the rules_go module, and then compiles the
hello
binary.
For GitHub Actions-based builds, the artifact is uploaded using actions/upload-artifact.
- github-actions-demo.yaml (results): SLSA 1 provenance generated on GitHub Actions using https://github.com/slsa-framework/github-actions-demo.
- slsa-github-generator.yaml (results): SLSA 2 provenance generated on GitHub Actions using https://github.com/slsa-framework/slsa-github-generator.