diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 315710c..94408c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/Dockerfile.arch b/Dockerfile.arch new file mode 100644 index 0000000..9b2419b --- /dev/null +++ b/Dockerfile.arch @@ -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"]