update imgcrypt binary to v1.1.9

Signed-off-by: 吴小白 <296015668@qq.com>
This commit is contained in:
吴小白 2024-01-09 15:40:32 +08:00
parent 9f8b845334
commit 174efb1e02
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
8eebb5ea37f38ff04f1a543252bdcd78cef7ce6b
v1.1.9

View File

@ -22,12 +22,12 @@ set -eu -o pipefail
script_dir="$(cd -- "$(dirname -- "$0")" > /dev/null 2>&1; pwd -P)"
: "${IMGCRYPT_COMMIT:=$(cat "${script_dir}/imgcrypt-version")}"
: "${IMGCRYPT_VERSION:=$(cat "${script_dir}/imgcrypt-version")}"
TMPROOT=$(mktemp -d)
git clone https://github.com/containerd/imgcrypt.git "${TMPROOT}"/imgcrypt
pushd "${TMPROOT}"/imgcrypt
git checkout "${IMGCRYPT_COMMIT}"
git checkout "${IMGCRYPT_VERSION}"
make
make containerd-release -e DESTDIR="${DESTDIR}/usr/local"