31 lines
854 B
YAML
31 lines
854 B
YAML
clone:
|
|
git:
|
|
settings:
|
|
tags: true
|
|
|
|
pipeline:
|
|
build:
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/build.sh
|
|
test:
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/test.sh
|
|
release:
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
commands:
|
|
- nix develop --command scripts/release.sh
|
|
when:
|
|
branch: main
|
|
gitea:
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_token
|
|
base_url: https://src.mfgames.com
|
|
files: exit-planning*.*
|
|
when:
|
|
event: tag
|
|
branch: main
|
|
tag: v*
|