Build the image from a Nix flake in place of the Dockerfile #31
No reviewers
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/sniffarr!31
Loading…
Reference in a new issue
No description provided.
Delete branch "nix-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The image's entrypoint is the binary under
/nix/store, so there is no/sniffarrand the chart dropscommand: [/sniffarr]. Images from the Dockerfile still work with that chart. skopeo was dropped because it refuses to run without apolicy.json.vendorHashinflake.nixhas to followgo.sum. The changelog'smanifest-versionis off: the flake reads the version fromVERSION, which the changelog decides, rather than stating it.Evidence
The image job's steps, run locally against
crane registry serve:application/vnd.oci.image.index.v1+json, platformslinux/amd64,linux/arm64/nix/store/…-sniffarr-<version>/bin/sniffarr, user65532:65532, OCI labels set0.45.0from distroless, 19.9 MB from nixhelm lint --strictandhelm templatepass on everyci/*-values.yamlNot yet run on Forgejo. The images have not been started in a container.
Merge Danger
Door: two-way
Restoring the Dockerfile and the old job brings back the previous build.
Blast Radius: image
A release whose image job fails leaves the draft and no tag.
🤖 Generated with Claude Code
fc3cd2da5272fbb5fc8872fbb5fc88938c4fc715938c4fc7154e057334f74e057334f7d1cc80ea18d1cc80ea18c1e169a9c3