File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,16 @@ set -euo pipefail
99
1010echo " Checking for git-crypt..."
1111if command -v git-crypt > /dev/null 2>&1 ; then
12- echo " Using system git-crypt"
12+ echo " - Using system git-crypt"
1313 gitcrypt_path=" git-crypt"
1414elif [ " $( uname -m) " == " x86_64" ]; then
15- echo " Downloading pre-compiled x86_64 git-crypt..."
16- url=" https://github.com/AGWA/git-crypt/releases/download/0.8.0/git-crypt-0.8.0-linux-x86_64"
17- curl -L " ${url} " --silent --show-error --output git-crypt
18- chmod +x git-crypt
19- gitcrypt_path=" ./git-crypt"
15+ echo " - Using pre-compiled x86_64 git-crypt"
16+ gitcrypt_path=" .buildkite/git-crypt/git-crypt.linux-x86_64"
2017else
2118 echo " Unsupported architecture: $( uname -m) "
2219 exit 1
2320fi
21+
2422echo " 🔓 Decrypting repository..."
2523" ${gitcrypt_path} " unlock <( echo " ${GIT_CRYPT_ENCRYPTION_KEY} " | base64 -d)
2624echo " ✅ git-crypt unlocked"
You can’t perform that action at this time.
0 commit comments