20 lines
605 B
YAML
20 lines
605 B
YAML
# Test-build the Crucible image on PRs. Proves `nix build .#image` still works
|
|
# (daemonless, Nix-built OCI tarball) but does NOT publish — release publishing
|
|
# happens in build-image.yml on v* tags. PR-only: with up-to-date-before-merge
|
|
# protection, main == the tested PR head, so a throwaway post-merge rebuild that
|
|
# publishes nothing is pure waste.
|
|
name: test-image
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build-image:
|
|
runs-on: nix-docker
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with: { fetch-depth: 0 }
|
|
|
|
- name: Build OCI image (daemonless, no publish)
|
|
run: nix build .#image
|