asraa / example-package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example project for SLSA

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.

Builders

About

License:Apache License 2.0


Languages

Language:Starlark 40.9%Language:Makefile 34.2%Language:Go 13.0%Language:Dockerfile 7.1%Language:Shell 4.7%