Skip to content

Commit dd8447c

Browse files
committed
Back to precompiled
linux x86_64 compiled from amazonlinux:latest (so hopefully using the right GLIBC?)
1 parent f2deaf4 commit dd8447c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.buildkite/git-crypt/git-crypt-unlock

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,16 @@ set -euo pipefail
99

1010
echo "Checking for git-crypt..."
1111
if 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"
1414
elif [ "$(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"
2017
else
2118
echo "Unsupported architecture: $(uname -m)"
2219
exit 1
2320
fi
21+
2422
echo "🔓 Decrypting repository..."
2523
"${gitcrypt_path}" unlock <(echo "${GIT_CRYPT_ENCRYPTION_KEY}" | base64 -d)
2624
echo "✅ git-crypt unlocked"
205 KB
Binary file not shown.

0 commit comments

Comments
 (0)