Compare commits
1 Commits
c3330a75d9
...
latest
Author | SHA1 | Date | |
---|---|---|---|
e4492680bb
|
@@ -1,11 +1,5 @@
|
|||||||
name: build and push image
|
name: Build and Push Image
|
||||||
|
on: [ push ]
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '!README.md'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TAG: latest
|
TAG: latest
|
||||||
@@ -29,4 +23,18 @@ jobs:
|
|||||||
docker tag syui/aios ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
docker tag syui/aios ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||||
echo "${{ env.APP_TOKEN }}" | docker login ${{ env.REGISTRY }} -u syui --password-stdin
|
echo "${{ env.APP_TOKEN }}" | docker login ${{ env.REGISTRY }} -u syui --password-stdin
|
||||||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: 'stable'
|
||||||
|
- name: prepare release
|
||||||
|
run: |
|
||||||
|
mkdir out
|
||||||
|
cd out
|
||||||
|
curl -sLO https://github.com/syui/aios/releases/download/latest/aios-bootstrap.tar.gz
|
||||||
|
- name: release
|
||||||
|
id: use-go-action
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
out/**
|
||||||
|
api_key: '${{secrets.APP_TOKEN}}'
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
|
||||||
- '!README.md'
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
.config/ai
|
.config/ai
|
||||||
**.DS_Store
|
|
||||||
|
24
README.md
24
README.md
@@ -1,32 +1,18 @@
|
|||||||
## <img src="./icon/ai.png" width="30"> ai `os`
|
## ai `os`
|
||||||
|
|
||||||
`aios` is a simple linux distribution based on `archlinux`.
|
<img src="./icon/ai.png" width="100">
|
||||||
|
|
||||||
|rule|var|
|
- name : ai os
|
||||||
|---|---|
|
- image : [aios-bootstrap.tar.gz](https://github.com/syui/aios/releases/tag/latest)
|
||||||
|name|ai os|
|
- base : [archlinux](https://gitlab.archlinux.org/archlinux)
|
||||||
|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)|
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ docker run -it git.syui.ai/ai/os ai
|
$ 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
|
### docker
|
||||||
|
|
||||||
```sh
|
```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
|
# https://hub.docker.com/r/syui/aios
|
||||||
$ docekr run -it syui/aios ai
|
$ docekr run -it syui/aios ai
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user