package-ecosystems/.drone.yml

24 lines
654 B
YAML
Raw Normal View History

2022-05-17 02:14:33 +00:00
kind: pipeline
name: default
2022-05-17 02:21:41 +00:00
environment:
DRONE_GIT_USERNAME: x-oauth-token
DRONE_GIT_PASSWORD:
from_secret: GITEA_TOKEN
GITEA_TOKEN:
from_secret: GITEA_TOKEN
2022-05-17 02:14:33 +00:00
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