EQTY LabDocs

Quick Start

Add build provenance to a GitHub Actions workflow.

View as Markdown

Add eqtylab/vbuild-action to a workflow that runs on your vBuild runner. The action snapshots the repository at checkout and, after your build steps run, produces a signed manifest linking the source commit to the build output.

Minimal workflow

.github/workflows/build.yml:

yaml
name: Build

on: push

jobs:
  build:
    runs-on: vbuild
    permissions:
      id-token: write
    steps:
      - uses: actions/checkout@v4

      - name: Setup vBuild provenance
        uses: eqtylab/vbuild-action@v0.15.0
        with:
          output: dist
          signer: vcomp-notary
          slsa-provenance: true
          sigstore: true

      - name: Build
        run: make

vbuild is the default runner label, but if another was chosen at deploy time use that.

The action runs in two phases around your build: a main step captures the repository state, and a post step captures output and emits the manifest.

Common inputs

InputDescription
output (required)File or directory to attest.
signer (required)vcomp-notary (built into the runner) or soft-key (imports via soft-key input).
slsa-provenanceEmit a SLSA DSSE attestation (default false).
sigstoreSign the DSSE with Sigstore (needs id-token: write, default false).
embedded-output-blobsComma/newline-separated filenames to embed in the manifest.

Full reference: vbuild-action README.

Output

On the GitHub Actions run page, the summary at the top has a link to open the manifest in the vBuild viewer. With the link service on and id-token: write granted, it is a short link to the run’s manifest artifact, read straight from GitHub. It shows each vBuild job in the run as it finishes. Without the link service, the link carries the manifest itself. The raw vbuild-manifest.json is also downloadable from the Artifacts section at the bottom of the same page.

Next

  • vbuild-examples — reference workflows for common languages and frameworks.