package-ecosystems/.drone.yml
2022-05-16 21:29:29 -05:00

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