17 lines
529 B
YAML
17 lines
529 B
YAML
when:
|
|
- event: push
|
|
branch: main
|
|
|
|
steps:
|
|
- build-push:
|
|
image: harbor.vdx.hu/voidcontext/woodpecker-plugin-nix-attic:0.2.0
|
|
settings:
|
|
binary_cache: https://attic.hailsatan.eu
|
|
binary_cache_public_key: some-binary-cache.example.com:some-public-key
|
|
binary_cache_token:
|
|
from_secret: binary_cache_access_token
|
|
script: |
|
|
nix build .#allConfigurations
|
|
attic login default $PLUGIN_BINARY_CACHE_TOKEN
|
|
attic push some-cache $(nix path-info .#default)
|
|
|