Community release build type

The meaning of https://komaengine.com/build-types/community-release/v1 in the provenance of a KomaEngine Community Edition release.

The build

One GitHub Actions workflow, .github/workflows/release.yml in komaengine/komaengine, runs when a version tag is pushed. It builds the flat-file ZIP and the container image for linux/amd64 and linux/arm64 from the tagged commit, with pinned build and runtime images, installs and checks each image, then writes this provenance as an in-toto Statement with an SLSA Provenance v1 predicate.

Subjects

The ZIP, by its SHA-256, and the multi-architecture image index, by its digest.

External parameters

  • sourceCommit: the full Git commit the tag points at.
  • releaseVersion: the version in the repository's VERSION file, which equals the tag without its v.
  • buildId: the version, a plus sign, and the first twelve characters of the commit.

Internal parameters

  • composerLockSha256 and packageLockSha256: the SHA-256 of the Composer and npm lock files.
  • imageLockSha256: the SHA-256 of the file that pins every build, runtime, and tool image by digest.
  • sbom: the path and SHA-256 of the SPDX inventories of the ZIP, the npm build dependencies, and the image.

Resolved dependencies

The source repository, https://github.com/komaengine/komaengine, with the commit as its gitCommit digest, and the pinned Node, PHP, Composer, and MariaDB images.

Checking it

The supply-chain guide shows how to verify the signatures on a release, its evidence, and its image. The security page says how to report a problem.

Releases 1.0.0 and 1.0.1 used an earlier identifier, https://komaengine.org/build-types/community-release/v1, for the same build.