dockerpush: try to use the CI nix cache
This commit is contained in:
parent
9934098c50
commit
3b268f67c6
1 changed files with 4 additions and 1 deletions
|
@ -8,4 +8,7 @@ set -euo pipefail
|
|||
|
||||
./hack/populate_secrets.sh
|
||||
|
||||
exec "$(nix-build --no-out-link ./docker-images.nix)"
|
||||
export AWS_ACCESS_KEY_ID="$(nix eval --raw -f ./ ops.secrets.nixCache.AWS_ACCESS_KEY_ID)"
|
||||
export AWS_SECRET_ACCESS_KEY="$(nix eval --raw -f ./ ops.secrets.nixCache.AWS_SECRET_ACCESS_KEY)"
|
||||
|
||||
exec "$(nix-build --substituters "https://cache.nixos.org s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1" --no-out-link ./docker-images.nix)"
|
||||
|
|
Loading…
Reference in a new issue