gitlab-ci: set substituter path to match trusted-substituters exactly

This commit is contained in:
Luke Granger-Brown 2020-11-04 18:59:06 +00:00
parent a263f322d0
commit 6217ebac07

View file

@ -11,7 +11,7 @@ nixCache:
image: "nixos/nix:latest" image: "nixos/nix:latest"
script: script:
- "nix run -f ./ third_party.nixpkgs.bash -c ./hack/populate_secrets.sh" - "nix run -f ./ third_party.nixpkgs.bash -c ./hack/populate_secrets.sh"
- "nix build -v -f ./ci-root.nix --substituters \"https://cache.nixos.org s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\"" - "nix build -v -f ./ci-root.nix --substituters \"https://cache.nixos.org/ s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\""
- "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result" - "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result"
tags: tags:
- cacher - cacher