fix(ci): working on woodpecker tagging and releases
This commit is contained in:
parent
39717b68a2
commit
cae57971f8
1 changed files with 5 additions and 4 deletions
|
@ -9,10 +9,9 @@ pipeline:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/build.sh
|
- nix develop --command scripts/build.sh
|
||||||
test:
|
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
||||||
commands:
|
|
||||||
- nix develop --command scripts/test.sh
|
- nix develop --command scripts/test.sh
|
||||||
|
when:
|
||||||
|
event: [push, pull_request]
|
||||||
release:
|
release:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
|
@ -23,6 +22,7 @@ pipeline:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
- git_credentials
|
- git_credentials
|
||||||
when:
|
when:
|
||||||
|
event: [push]
|
||||||
branch: main
|
branch: main
|
||||||
gitea:
|
gitea:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -32,4 +32,5 @@ pipeline:
|
||||||
base_url: https://src.mfgames.com
|
base_url: https://src.mfgames.com
|
||||||
files: exit-planning*.*
|
files: exit-planning*.*
|
||||||
when:
|
when:
|
||||||
branch: main
|
event: [tag]
|
||||||
|
tag: v*
|
||||||
|
|
Loading…
Reference in a new issue