Build only the kiosk deb in the release workflow
CI / server (push) Successful in 33s
CI / frontend (push) Successful in 29s
CI / kiosk (push) Canceled after 9s
Build and Publish Docker Images / build-and-push (server/Dockerfile, pistation-server) (push) Canceled after 0s
Build and Publish Docker Images / build-and-push (apps/web-client/Dockerfile, pistation-web) (push) Canceled after 0s
CI / server (push) Successful in 33s
CI / frontend (push) Successful in 29s
CI / kiosk (push) Canceled after 9s
Build and Publish Docker Images / build-and-push (server/Dockerfile, pistation-server) (push) Canceled after 0s
Build and Publish Docker Images / build-and-push (apps/web-client/Dockerfile, pistation-web) (push) Canceled after 0s
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
# Container images are published separately by publish-images.yml. This builds the kiosk
|
# Container images are published separately by publish-images.yml. This builds the kiosk .deb
|
||||||
# package for the Pi, which needs an arm64 toolchain, so it goes through buildx and QEMU
|
# for the Pi, which needs an arm64 toolchain, so it goes through buildx and QEMU rather than
|
||||||
# rather than running on the host directly.
|
# 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:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: ["v*"]
|
tags: ["v*"]
|
||||||
@@ -33,7 +34,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
find bundle -name '*.deb' -exec cp {} dist/ \;
|
find bundle -name '*.deb' -exec cp {} dist/ \;
|
||||||
find bundle -name '*.AppImage' -exec cp {} dist/ \;
|
|
||||||
ls -lh dist
|
ls -lh dist
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ COPY packages packages
|
|||||||
COPY apps/kiosk-client apps/kiosk-client
|
COPY apps/kiosk-client apps/kiosk-client
|
||||||
|
|
||||||
RUN bun install
|
RUN bun install
|
||||||
RUN bun run build:kiosk
|
|
||||||
|
WORKDIR /work/apps/kiosk-client
|
||||||
|
RUN bun run tauri build --bundles deb
|
||||||
|
|
||||||
FROM scratch AS bundle
|
FROM scratch AS bundle
|
||||||
COPY --from=build /work/apps/kiosk-client/src-tauri/target/release/bundle /
|
COPY --from=build /work/apps/kiosk-client/src-tauri/target/release/bundle/deb /
|
||||||
|
|||||||
Reference in New Issue
Block a user