22 lines
613 B
YAML
22 lines
613 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
token:
|
|
from_secret: GITEA_TOKEN
|
|
|
|
steps:
|
|
- name: build
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/build.sh
|
|
- name: test
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/test.sh
|
|
- name: release
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/release.sh
|
|
environment:
|
|
GITEA_TOKEN:
|
|
from_secret: GITEA_TOKEN
|