coins-for-your-troubles/.woodpecker.yml

38 lines
1013 B
YAML
Raw Permalink Normal View History

2022-10-13 13:54:27 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
2022-10-15 17:00:06 +00:00
when:
event: [push, pull_request]
2022-10-13 13:54:27 +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 16:58:17 +00:00
event: [push, pull_request]
2022-10-13 13:54:27 +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