File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,13 @@ set -eu -o pipefail
2222
2323script_dir=" $( cd -- " $( dirname -- " $0 " ) " > /dev/null 2>&1 ; pwd -P) "
2424
25- : " ${IMGCRYPT_COMMIT:= $(cat " ${script_dir} /imgcrypt-version" )} "
25+ : " ${IMGCRYPT_VERSION:= $(cat " ${script_dir} /imgcrypt-version" )} "
26+ : " ${IMGCRYPT_REPO:= https:// github.com/ containerd/ imgcrypt.git} " # Default repo
2627
2728TMPROOT=$( mktemp -d)
28- git clone https://github.com/containerd/imgcrypt.git " ${TMPROOT} " /imgcrypt
29+ git clone " ${IMGCRYPT_REPO} " " ${TMPROOT} " /imgcrypt
2930pushd " ${TMPROOT} " /imgcrypt
30- git checkout " ${IMGCRYPT_COMMIT } "
31+ git checkout " ${IMGCRYPT_VERSION } "
3132make
3233make containerd-release -e DESTDIR=" ${DESTDIR} /usr/local"
3334
You can’t perform that action at this time.
0 commit comments