Use Gitlab CI for buiding
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
build:
|
||||
stage: build
|
||||
tags:
|
||||
- nix
|
||||
- podman
|
||||
script:
|
||||
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- nix build .
|
||||
- podman load -i result
|
||||
- podman tag "localhost/gregs-homepage:latest" $CI_REGISTRY/greg/homepage/gregs-homepage:latest
|
||||
- podman push $CI_REGISTRY/greg/homepage/gregs-homepage:latest
|
||||
Reference in New Issue
Block a user