CI / frontend (push) Canceled after 0s
CI / kiosk (push) Canceled after 0s
CI / server (push) Canceled after 14s
Build and Publish Docker Images / build-and-push (apps/web-client/Dockerfile, pistation-web) (push) Canceled after 0s
Build and Publish Docker Images / build-and-push (server/Dockerfile, pistation-server) (push) Canceled after 0s
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
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
|