From 35a33a7ca62102bd9d995f3b9e97efc5c63d0a8a Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 4 Aug 2024 08:01:21 +0900 Subject: [PATCH] add bc --- .github/workflows/release.yml | 2 +- README.md | 17 +++++++++++++++++ build.zsh | 2 +- cfg/gh-actions.yml | 4 +--- scpt/gh-actions.zsh | 4 ++-- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4227645..8dc3fa4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Initialize run: | - pacman -Syuu --noconfirm base-devel archiso docker git nodejs + pacman -Syuu --noconfirm base-devel archiso docker git nodejs bc git clone https://gitlab.archlinux.org/archlinux/archiso cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh diff --git a/README.md b/README.md index d5521d2..21ee137 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,16 @@ $ docker run -it ghcr.io/syui/aios ai ```sh $ podman pull aios + +$ podman machine init +$ podman machine start ``` https://github.com/containers/shortnames > /etc/containers/registries.conf.d/ai.conf +> +> ~/.config/containers/registries.conf ```sh unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io'] @@ -80,6 +85,18 @@ Copying blob c7e55fecf0be [====================>-----------------] 917.4MiB / 1. stop +```sh + schedule: + - cron: "0 0 * * *" +``` + +## update action + +```sh +$ vim build.zszh +$ ./scpt/gh-actions.zsh +``` + ## link - https://git.syui.ai/ai/os diff --git a/build.zsh b/build.zsh index eea22b6..0efadf5 100755 --- a/build.zsh +++ b/build.zsh @@ -1,5 +1,5 @@ #!/bin/zsh -pacman -Syuu --noconfirm base-devel archiso docker git nodejs +pacman -Syuu --noconfirm base-devel archiso docker git nodejs bc git clone https://gitlab.archlinux.org/archlinux/archiso cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh diff --git a/cfg/gh-actions.yml b/cfg/gh-actions.yml index 5889f92..8dc3fa4 100644 --- a/cfg/gh-actions.yml +++ b/cfg/gh-actions.yml @@ -4,8 +4,6 @@ on: push: branches: - main - schedule: - - cron: "0 0 * * *" permissions: contents: write @@ -28,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Initialize run: | - pacman -Syuu --noconfirm base-devel archiso docker git nodejs + pacman -Syuu --noconfirm base-devel archiso docker git nodejs bc git clone https://gitlab.archlinux.org/archlinux/archiso cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh diff --git a/scpt/gh-actions.zsh b/scpt/gh-actions.zsh index 9cea874..cfcdd85 100755 --- a/scpt/gh-actions.zsh +++ b/scpt/gh-actions.zsh @@ -9,8 +9,6 @@ on: push: branches: - main - schedule: - - cron: "0 0 * * *" permissions: contents: write @@ -69,3 +67,5 @@ echo '#!/bin/zsh' >! $dd/build.zsh echo $yml_b >> $dd/build.zsh cat $dd/build.zsh +cp -rf $dd/cfg/gh-actions.yml $dd/.github/workflows/release.yml +