fradrive/.gitlab-ci/upload-to-cache.sh
2021-09-17 10:41:59 +02:00

9 lines
256 B
Bash
Executable File

#!/usr/bin/bash
set -eu
set -f # disable globbing
export IFS=' '
echo "Signing and uploading paths" $OUT_PATHS
exec nix copy --to "s3://nix-cache?region=us-east-1&scheme=http&endpoint=minio-gitlab-runner-cache&secret-key=${NIX_CACHE_KEYFILE}" $OUT_PATHS