name: Release # Container images are published separately by publish-images.yml. This builds the kiosk .deb # for the Pi, which needs an arm64 toolchain, so it goes through buildx and QEMU rather than # running on the host directly. Only the .deb is built here: AppImage bundling shells out to # linuxdeploy, which needs FUSE and cannot run inside an emulated build. on: push: tags: ["v*"] workflow_dispatch: jobs: kiosk-deb: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v3 with: platforms: arm64 - uses: docker/setup-buildx-action@v3 - name: Build the kiosk bundle for arm64 uses: docker/build-push-action@v6 with: context: . file: ./apps/kiosk-client/Dockerfile.bundle platforms: linux/arm64 target: bundle outputs: type=local,dest=bundle - name: Collect artifacts run: | mkdir -p dist find bundle -name '*.deb' -exec cp {} dist/ \; ls -lh dist - uses: actions/upload-artifact@v3 with: name: pistation-kiosk-arm64 path: dist/* if-no-files-found: error - name: Attach the deb to the Gitea release if: startsWith(github.ref, 'refs/tags/') env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} run: ./.gitea/scripts/release-assets.sh "${{ github.ref_name }}" dist/*.deb