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