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

9 lines
247 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?scheme=http&endpoint=minio-gitlab-runner-cache&secret-key=${NIX_CACHE_KEYFILE}" $OUT_PATHS