2022-10-13 14:00:12 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
tags: true
|
2022-10-15 18:55:29 +00:00
|
|
|
when:
|
|
|
|
event: [push, pull_request]
|
2022-10-13 14:00:12 +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:55:29 +00:00
|
|
|
event: [push, pull_request]
|
2022-10-13 14:00:12 +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
|