gitlab-ci: import some sekrits
This commit is contained in:
parent
23bb45a60a
commit
6b717e04ec
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
nixCache:
|
||||
image: "nixos/nix:latest"
|
||||
script:
|
||||
- "mkdir -p ops/secrets"
|
||||
- "cp ${OPS_SECRETS_DEFAULT_NIX} ops/secrets/default.nix"
|
||||
- "test -d cache || mkdir cache"
|
||||
- "nix-build ./ci-root.nix --option extra-substituters \"s3://lukegb-nix-cache?endpoint=storage.googleapis.com file://$PWD/cache\""
|
||||
- "nix copy --to 'file://cache' -f ./ci-root.nix"
|
||||
|
|
Loading…
Reference in a new issue