---
title: "Build & Release: land it, build it, sign it, ship it"
description: "ModernCI builds your release on the right machines, signs it with keys it generates itself (Sigstore, SLSA provenance, OpenPGP) and publishes to Homebrew, APT, DNF, winget, npm, crates.io and OCI. Early access."
url: https://modernci.dev/build/
---

Build & Release

# Land it, build it, sign it, ship it.

The engine that lands your PR builds the release, signs it with keys it generated itself, and publishes it everywhere your users install from.

[Sign in](https://app.modernci.dev/sign-in) · [Verify a download](#verify)

(In development)Early access · pre-launch

> Illustrative: release 1.4.0 is built for four platforms, signed with Sigstore, SLSA provenance and OpenPGP, published to seven channels and install-tested.

Illustrative mock, not a real run.

## Before and after

Merge queues and runner services stop at a green check. ModernCI carries the same commit through build, signing and publishing.

### Today: GoReleaser on Actions

- A release workflow to write and maintain in every repo
- GPG and cosign private keys pasted into CI secrets, readable by any job that asks
- Rotation done by hand, or not at all
- Provenance produced by the same job that ran your code
- A script per channel: Homebrew, APT, winget, npm, and so on

### ModernCI: one declared key

- Declare the key; ModernCI generates it in its signer and keeps it non-exportable by default. Scheduled rotation is (In development)
- No private key ever reaches a job, a log, a laptop or a person
- Provenance generated and signed by the platform, not the job
- Every channel published, then install-tested; a release is done only when every channel passes (Coming)

```
# Example
extends: ci.yaml
release:
  sign:
    keys:
      repo: { kind: openpgp, generate: true, rotate: 90d }
  publish: [homebrew-tap, apt, dnf, winget, npm, crates, oci]
```

Example config. Adding or changing a declared key is a guarded change, approved once by a project admin with a passkey.

- **Signing.** Sigstore signatures, Rekor entries and SLSA provenance, plus OpenPGP for package repositories, key files or your KMS. (In development)
- **Publishing.** Homebrew, APT, DNF, pacman and apk repositories signed by ModernCI, winget, Scoop, npm, crates.io, PyPI, OCI registries, GitHub and GitLab releases. (Coming)
- **Placement.** Release builds go to machines with the right OS and architecture, your own first. (In development)
- **Reuse.** The same inputs give the same artifact, so an unchanged build is reused, never rebuilt. Optionally verify reproducibility. (In development)
- **Versions and notes from commits.** Release notes come from the PRs that landed. (In development)

## Anyone can verify a download

Every artifact carries a sha256, a signature and SLSA provenance. Releases are signed with a key held by the signer; Sigstore signatures and Rekor transparency-log entries are (In development). Check them with our CLI or, once the Sigstore bundle ships, with stock Sigstore tools.

```
$ mci attestation verify ./app-linux-x86_64.tar.gz
✓ sha256 matches the signed release manifest
✓ signature valid; transparency-log entry found (once Sigstore ships)
✓ SLSA provenance: built by ModernCI from a landed main commit
```

Illustrative output. The command is in development.

Prefer stock tools? For a file you downloaded, once the Sigstore bundle ships, Sigstore’s own CLI checks the provenance (use `verify-blob-attestation`; `verify-attestation` is for container images):

```
$ cosign verify-blob-attestation \
    --bundle app-linux-x86_64.tar.gz.sigstore.json \
    --type slsaprovenance1 \
    --certificate-identity-regexp '<ModernCI identity>' \
    --certificate-oidc-issuer https://oidc.modernci.dev \
    ./app-linux-x86_64.tar.gz
```

ModernCI releasing itself this way, every channel signed and published by ModernCI, is the acceptance test. (In development) [Signing and provenance](/security.md)

## Ship from the engine that landed it

One pipeline, from push to a signed release.

[Sign in](https://app.modernci.dev/sign-in) · [Release config](/docs/config.md#release-steps)
