From 26134deb84feed788a9434a04f337505e97bae29 Mon Sep 17 00:00:00 2001 From: Kenny Cheng Date: Thu, 14 Mar 2024 22:20:07 +0800 Subject: [PATCH] fix: gh clone with -b option --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 479eea7..d5ff06d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,5 +34,5 @@ ARG GH_TOKEN ARG REPO ARG REF -RUN gh repo clone $REPO /git && cd /git && \ +RUN gh repo clone $REPO /git -- -b $REF && cd /git && \ gh release create $REF --notes "kernel version $KVER" "/boot/${TARGET}#${TARGET}" "/boot/${TARGET}#bootia32.efi"