dockerpush: try to use the CI nix cache

This commit is contained in:
Luke Granger-Brown 2020-10-04 02:44:15 +01:00
parent 9934098c50
commit 3b268f67c6

View file

@ -8,4 +8,7 @@ set -euo pipefail
./hack/populate_secrets.sh ./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)"