This commit is contained in:
parent
f396610305
commit
ddcbfeaac6
@ -1,6 +1,8 @@
|
||||
name: build and push image
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
42
README.md
42
README.md
@ -1,4 +1,4 @@
|
||||
## <img src="./icon/ai.png" width="30"> ai `os`
|
||||
# <img src="./icon/ai.png" width="30"> ai `os`
|
||||
|
||||
`aios` is a simple linux distribution based on `archlinux`.
|
||||
|
||||
@ -14,14 +14,14 @@
|
||||
$ docker run -it git.syui.ai/ai/os ai
|
||||
```
|
||||
|
||||
### base
|
||||
## base
|
||||
|
||||
```sh
|
||||
# https://gitlab.archlinux.org/archlinux
|
||||
$ git clone https://gitlab.archlinux.org/archlinux/archiso
|
||||
```
|
||||
|
||||
### docker
|
||||
## docker
|
||||
|
||||
```sh
|
||||
# https://git.syui.ai/ai/-/packages/container/os
|
||||
@ -34,7 +34,41 @@ $ docekr run -it syui/aios ai
|
||||
$ docker run -it ghcr.io/syui/aios ai
|
||||
```
|
||||
|
||||
### link
|
||||
## token
|
||||
|
||||
|env|body|
|
||||
|---|---|
|
||||
|${{ github.repository }}|syui/aios|
|
||||
|${{ secrets.DOCKER_USERNAME }}|syui|
|
||||
|${{ secrets.DOCKER_TOKEN }}|[token](https://matsuand.github.io/docs.docker.jp.onthefly/docker-hub/access-tokens/)|
|
||||
|${{ secrets.APP_TOKEN }}|[token](https://docs.github.com/ja/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), pacakge|
|
||||
|
||||
## podman
|
||||
|
||||
```sh
|
||||
$ podman pull aios
|
||||
```
|
||||
|
||||
https://github.com/containers/shortnames
|
||||
|
||||
> /etc/containers/registries.conf.d/ai.conf
|
||||
|
||||
```sh
|
||||
unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io']
|
||||
|
||||
[aliases]
|
||||
"aios" = "git.syui.ai/ai/os"
|
||||
```
|
||||
|
||||
```sh
|
||||
$ 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
|
||||
```
|
||||
|
||||
## link
|
||||
|
||||
- https://git.syui.ai/ai/os
|
||||
- https://github.com/syui/aios
|
||||
|
Loading…
Reference in New Issue
Block a user