clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
pipeline:
build:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- nix develop --command scripts/build.sh
when:
event: [push, pull_request, tag, manual]
tag: v*
test:
- nix develop --command scripts/test.sh
event: [push, pull_request, manual]
release-main:
- nix develop --command scripts/release.sh
secrets:
- gitea_token
event: [push, manual]
branch: main