This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/.gitlab-ci/write-minio-creds.sh
2021-09-15 15:19:32 +02:00

12 lines
294 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash -p coreutils
umask 7333
mkdir -p /etc/aws
cat > /etc/aws/credentials <<EOF
[default]
aws_access_key_id = $(cat /minio-gitlab-runner-cache/accesskey)
aws_secret_access_key = $(cat /minio-gitlab-runner-cache/secretkey)
EOF
ls -lhaFR /etc/aws