This commit is contained in:
parent
eea223f9b8
commit
1e7c65c56d
1 changed files with 7 additions and 6 deletions
|
@ -10,15 +10,16 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/build.sh
|
- nix develop --command scripts/build.sh
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request, tag]
|
event: [push, manual]
|
||||||
tag: v*
|
branch: main
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/test.sh
|
- nix develop --command scripts/test.sh
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, manual]
|
||||||
|
branch: main
|
||||||
|
|
||||||
release-main:
|
release-main:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
|
@ -28,7 +29,7 @@ pipeline:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
- git_credentials
|
- git_credentials
|
||||||
when:
|
when:
|
||||||
event: push
|
event: [push, manual]
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
release-gitea:
|
release-gitea:
|
||||||
|
@ -41,5 +42,5 @@ pipeline:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: [push, manual]
|
||||||
tag: v*
|
branch: main
|
||||||
|
|
Loading…
Reference in a new issue