redo docker image and build it in ci
This commit is contained in:
parent
02781e4f9b
commit
4de54db305
3 changed files with 33 additions and 132 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue