diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 34b3175..95d3905 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -1,5 +1,11 @@ -name: Build and Push Image -on: [ push ] +name: build and push image + +on: + push: + branches: + - main + paths: + - '!README.md' env: TAG: latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3aaeb1..0156063 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: push: branches: - main + paths: + - '!README.md' schedule: - cron: "0 0 * * *" diff --git a/README.md b/README.md index e1668a8..9ad4b82 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,33 @@ -- name : ai os -- image : [aios-bootstrap.tar.gz](https://github.com/syui/aios/releases/download/latest/aios-bootstrap.tar.gz) -- base : [archlinux](https://gitlab.archlinux.org/archlinux) +|rule|var| +|---|---| +|name|ai os| +|code|aios| +|id|ai| +|container|[git.syui.ai/ai/os](https://git.syui.ai/ai/-/packages/container/os/latest)| +|image|[aios-bootstrap.tar.gz](https://github.com/syui/aios/releases/download/latest/aios-bootstrap.tar.gz)| + +`aios` is a simple linux distribution based on `archlinux`. ```sh $ docker run -it git.syui.ai/ai/os ai ``` +### base + +```sh +# https://gitlab.archlinux.org/archlinux +$ git clone https://gitlab.archlinux.org/archlinux/archiso +``` + ### docker ```sh +# 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