songbird-in-the-kitchen/.woodpecker.yml

38 lines
1,013 B
YAML
Raw Permalink Normal View History

2022-10-13 14:01:07 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
2022-10-15 18:56:04 +00:00
when:
event: [push, pull_request]
2022-10-13 14:01:07 +00:00
pipeline:
build:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- nix profile install 'nixpkgs#fontconfig'
- nix develop --command scripts/build.sh
secrets:
- gitea_token
- s3_bucket
- s3_endpoint
- s3_access_key_id
- s3_secret_access_key
when:
2022-10-15 18:56:04 +00:00
event: [push, pull_request]
2022-10-13 14:01:07 +00:00
release:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- nix profile install 'nixpkgs#fontconfig'
- nix develop --command scripts/release.sh
secrets:
- gitea_token
- s3_bucket
- s3_endpoint
- s3_access_key_id
- s3_secret_access_key
when:
event: push
branch: main