Go to file
syui 25e8c9824c
Some checks failed
build and push image / Release (push) Failing after 1m23s
fix
2024-08-25 13:25:37 +09:00
.gitea/workflows fix 2024-08-25 13:25:37 +09:00
.github/workflows add bc 2024-08-25 13:07:31 +09:00
cfg add bc 2024-08-25 13:07:31 +09:00
docs add actions 2024-02-13 10:35:51 +09:00
icon add docker 2024-02-12 09:28:34 +09:00
scpt add bc 2024-08-25 13:07:31 +09:00
.gitignore add gitea actions 2024-03-05 23:32:36 +09:00
build.zsh add bc 2024-08-25 13:07:31 +09:00
README.md fix 2024-08-25 13:11:46 +09:00

ai os

aios is a simple linux distribution based on archlinux.

rule var
name ai os
code aios
id ai
container git.syui.ai/ai/os
image aios-bootstrap.tar.gz
$ docker run -it git.syui.ai/ai/os ai
host command url
docker syui/aios https://hub.docker.com/r/syui/aios
github ghcr.io/syui/aios https://github.com/users/syui/packages/container/package/aios
syui git.syui.ai/ai/os https://git.syui.ai/ai/-/packages/container/os

base

# https://gitlab.archlinux.org/archlinux
$ git clone https://gitlab.archlinux.org/archlinux/archiso

docker

# https://git.syui.ai/ai/-/packages/container/os
$ docker run -it git.syui.ai/ai/os ai

# https://hub.docker.com/r/syui/aios
$ docekr run -it syui/aios ai

# https://github.com/users/syui/packages/container/package/aios
$ docker run -it ghcr.io/syui/aios ai

token

env body
${{ github.repository }} syui/aios
${{ secrets.DOCKER_USERNAME }} syui
${{ secrets.DOCKER_TOKEN }} token
${{ secrets.APP_TOKEN }} token, pacakge

podman

$ 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

unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io']

[aliases]
"aios" = "git.syui.ai/ai/os"
$ podman pull aios
Resolved "aios" as an alias (/etc/containers/registries.conf.d/ai.conf)
Trying to pull git.syui.ai/ai/os:latest...
Getting image source signatures
Copying blob c7e55fecf0be [====================>-----------------] 917.4MiB / 1.7GiB

cron

stop

  schedule:
      - cron:  "0 0 * * *"

update action

$ vim build.zszh
$ ./scpt/gh-actions.zsh