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