diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bee904..a171c3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,12 +25,11 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - # Runs a set of commands using the runners shell - name: Building AMD64 image run: | chmod 755 ./build.sh /bin/bash -c './build.sh -a x86_64' + - name: Building ARM64 image + run: | + /bin/bash -c './build.sh -a aarch64 -q' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdf9cb8..013951e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,11 @@ jobs: run: | chmod 755 ./build.sh /bin/bash -c './build.sh -a x86_64' + - name: Building ARM64 image + run: | + chmod 755 ./build.sh + /bin/bash -c './build.sh -a aarch64 -q' + zip --junk-paths images.zip ./linux_x86_64.img.gz ./linux_aarch64.img.gz - name: Create Draft Release id: create_release uses: actions/create-release@v1 @@ -44,8 +49,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./linux_x86_64.img.gz - asset_name: linux_x86_64.zip + asset_path: ./images.zip + asset_name: images.zip asset_content_type: application/zip - uses: eregon/publish-release@v1