push oci image and x86_64-*-gnu build to bin cache
This will allow most Nix users to use the `default` package and without having to build from source. And also allows any weirdos to get the OCI image from the Nix binary cache if they want. No idea why that would be desireable though lol
This commit is contained in:
parent
bdc46f6392
commit
5cc53c9e14
2 changed files with 38 additions and 1 deletions
|
@ -46,7 +46,13 @@ oci-image:x86_64-unknown-linux-gnu:
|
|||
stage: artifacts
|
||||
image: nixos/nix:2.19.2
|
||||
script:
|
||||
- nix build .#oci-image
|
||||
# Push artifacts and build requirements to binary cache
|
||||
#
|
||||
# Since the OCI image package is based on the binary package, this has the
|
||||
# fun side effect of uploading the normal binary too. Conduit users who are
|
||||
# deploying with Nix can leverage this fact by adding our binary cache to
|
||||
# their systems.
|
||||
- ./bin/nix-build-and-cache .#oci-image
|
||||
|
||||
# Make the output less difficult to find
|
||||
- cp result oci-image.tar.gz
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue