This commit is contained in:
syui 2024-02-12 10:21:19 +09:00
parent 1f01f6b0e9
commit 8ac1ac1597
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -1,10 +1,11 @@
name: release name: release
on: on:
push:
branches:
- main
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *'
push:
- main
jobs: jobs:
build: build:
@ -30,7 +31,7 @@ jobs:
DOCKER_USER: ${{ secrets.DOCKER_USER }} DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: | run: |
./build.zsh ./build.zsh gh
systemctl start docker systemctl start docker
docker login -u=$DOCKER_USER -p=$DOCKER_PASSWORD docker login -u=$DOCKER_USER -p=$DOCKER_PASSWORD
tar -C ./root.x86_64 -c . | docker import - syui/aios tar -C ./root.x86_64 -c . | docker import - syui/aios