This commit is contained in:
syui 2024-08-04 08:01:21 +09:00
parent 862dca006b
commit 35a33a7ca6
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
5 changed files with 22 additions and 7 deletions

View File

@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Initialize - name: Initialize
run: | 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 git clone https://gitlab.archlinux.org/archlinux/archiso
cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/
cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh

View File

@ -55,11 +55,16 @@ $ docker run -it ghcr.io/syui/aios ai
```sh ```sh
$ podman pull aios $ podman pull aios
$ podman machine init
$ podman machine start
``` ```
https://github.com/containers/shortnames https://github.com/containers/shortnames
> /etc/containers/registries.conf.d/ai.conf > /etc/containers/registries.conf.d/ai.conf
>
> ~/.config/containers/registries.conf
```sh ```sh
unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io'] unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io']
@ -80,6 +85,18 @@ Copying blob c7e55fecf0be [====================>-----------------] 917.4MiB / 1.
stop stop
```sh
schedule:
- cron: "0 0 * * *"
```
## update action
```sh
$ vim build.zszh
$ ./scpt/gh-actions.zsh
```
## link ## link
- https://git.syui.ai/ai/os - https://git.syui.ai/ai/os

View File

@ -1,5 +1,5 @@
#!/bin/zsh #!/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 git clone https://gitlab.archlinux.org/archlinux/archiso
cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/
cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh

View File

@ -4,8 +4,6 @@ on:
push: push:
branches: branches:
- main - main
schedule:
- cron: "0 0 * * *"
permissions: permissions:
contents: write contents: write
@ -28,7 +26,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Initialize - name: Initialize
run: | 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 git clone https://gitlab.archlinux.org/archlinux/archiso
cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/
cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh

View File

@ -9,8 +9,6 @@ on:
push: push:
branches: branches:
- main - main
schedule:
- cron: "0 0 * * *"
permissions: permissions:
contents: write contents: write
@ -69,3 +67,5 @@ echo '#!/bin/zsh' >! $dd/build.zsh
echo $yml_b >> $dd/build.zsh echo $yml_b >> $dd/build.zsh
cat $dd/build.zsh cat $dd/build.zsh
cp -rf $dd/cfg/gh-actions.yml $dd/.github/workflows/release.yml