Private
Public Access
1
0

Fix: Use custom Arch+Node container for build-arch job

This commit is contained in:
2026-04-13 15:37:46 +00:00
parent 8107dc0547
commit fd1e032e59
2 changed files with 15 additions and 3 deletions

View File

@ -141,9 +141,8 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install build dependencies
run: |
apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git abuild
apk add --no-cache rust cargo musl-dev openssl-dev git abuild
- name: Build APK package
run: ./build-alpine.sh
- name: Upload to releases (on tag)
@ -156,7 +155,7 @@ jobs:
build-arch:
name: Build Arch Package
runs-on: linux
container: archlinux:latest
container: linux-patch-api-arch:latest
steps:
- uses: actions/checkout@v4
with:

13
Dockerfile.arch Normal file
View File

@ -0,0 +1,13 @@
# Arch Linux container with Node.js for GitHub Actions support
# Used for Arch package builds in CI/CD
FROM archlinux:latest
# Update system and install Node.js (required for GitHub Actions JavaScript-based actions)
RUN pacman -Syu --noconfirm nodejs npm && \
pacman -Scc --noconfirm
# Verify node is available
RUN node --version
# Default command (not used in CI, but good for testing)
CMD ["/bin/bash"]