redo docker image and build it in ci

This commit is contained in:
Charles Hall 2024-01-18 13:31:46 -08:00
parent 02781e4f9b
commit 4de54db305
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 33 additions and 132 deletions

View file

@ -1,5 +1,6 @@
stages:
- ci
- artifacts
variables:
# Makes some things print in color
@ -31,3 +32,15 @@ ci:
paths:
- target
- .gitlab-ci.d
docker:
stage: artifacts
image: nixos/nix:2.19.2
script:
- nix build .#oci-image
# Make the output less difficult to find
- cp result docker-image.tar.gz
artifacts:
paths:
- docker-image.tar.gz