gitlab-ci: mark both extra substituters as trusted
This commit is contained in:
parent
6b717e04ec
commit
e0160d133f
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ nixCache:
|
||||||
- "mkdir -p ops/secrets"
|
- "mkdir -p ops/secrets"
|
||||||
- "cp ${OPS_SECRETS_DEFAULT_NIX} ops/secrets/default.nix"
|
- "cp ${OPS_SECRETS_DEFAULT_NIX} ops/secrets/default.nix"
|
||||||
- "test -d cache || mkdir cache"
|
- "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-build ./ci-root.nix --option extra-substituters \"s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1 file://$PWD/cache?trusted=1\""
|
||||||
- "nix copy --to 'file://cache' -f ./ci-root.nix"
|
- "nix copy --to 'file://cache' -f ./ci-root.nix"
|
||||||
- "nix copy --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' -f ./ci-root.nix"
|
- "nix copy --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' -f ./ci-root.nix"
|
||||||
cache:
|
cache:
|
||||||
|
|
Loading…
Reference in a new issue