From 2056dcb601310cd5fa4ca1d108c5005a6e05a13c Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 13 Feb 2024 09:51:49 +0900 Subject: [PATCH] fix --- .github/workflows/release.yml | 1 + build.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da1e269..9e26f0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,7 @@ jobs: arch-chroot root.x86_64 /bin/sh -c 'pacman-key --init' arch-chroot root.x86_64 /bin/sh -c 'pacman-key --populate archlinux' arch-chroot root.x86_64 /bin/sh -c 'pacman -Syu --noconfirm base base-devel linux vim git zsh rust openssh openssl jq' + arch-chroot root.x86_64 /bin/sh -c 'chsh -s /bin/zsh' arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/bot && cd bot && cargo build && cp -rf ./target/debug/ai /bin/ && ai ai' tar -zcvf aios-bootstrap.tar.gz root.x86_64/ tar -C ./root.x86_64 -c . | docker import - ${{ env.IMAGE_NAME }} diff --git a/build.zsh b/build.zsh index e59a0fd..e86ebda 100755 --- a/build.zsh +++ b/build.zsh @@ -48,4 +48,5 @@ tar -C ./root.x86_64 -c . | docker import - syui/aios docker images -a docker run --rm syui/aios ai +#arch-chroot root.x86_64 #docker push syui/aios