fradrive/.gitlab-ci/upload-to-cache.sh
2021-09-16 12:15:57 +02:00

9 lines
264 B
Bash
Executable File

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