From f6b8b8dd20fdb06f21feb4902bf2b5305d2dafb6 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Thu, 29 Feb 2024 21:22:00 +0700 Subject: [PATCH] Try VM build --- .github/workflows/alpine.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index a71ea70..c6d76cc 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -1,8 +1,9 @@ name: 'Alpine' on: - schedule: - - cron: '0 0 7,14,21,28 * *' + push: + branches: + - main jobs: build: @@ -31,7 +32,7 @@ jobs: fetch-depth: 0 - name: Setup IcePAK - uses: upmaru/icepak@v0 + uses: upmaru/icepak@develop with: alpine: v3.19 arch: ${{matrix.os.arch}} @@ -44,6 +45,7 @@ jobs: - name: Build Image run: | sudo ~/go/bin/distrobuilder build-incus images/${{matrix.release.distro}}.yml rootfs -o image.serial=${{ steps.generate-serial.outputs.serial }} -o image.architecture=${{matrix.os.arch}} -o image.release=${{matrix.release.version}} + sudo ~/go/bin/distrobuilder build-incus images/${{matrix.release.distro}}.yml rootfs -o image.serial=${{ steps.generate-serial.outputs.serial }} -o image.architecture=${{matrix.os.arch}} -o image.release=${{matrix.release.version}} --vm - name: Push run: |