Fix: Use custom Arch+Node container for build-arch job
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 12s
CI/CD Pipeline / Build Debian Package (push) Successful in 1m56s
CI/CD Pipeline / Build RPM Package (push) Successful in 3m25s
CI/CD Pipeline / Build Alpine Package (push) Failing after 0s
CI/CD Pipeline / Build Arch Package (push) Failing after 2m11s
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 12s
CI/CD Pipeline / Build Debian Package (push) Successful in 1m56s
CI/CD Pipeline / Build RPM Package (push) Successful in 3m25s
CI/CD Pipeline / Build Alpine Package (push) Failing after 0s
CI/CD Pipeline / Build Arch Package (push) Failing after 2m11s
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -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
13
Dockerfile.arch
Normal 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"]
|
||||
Reference in New Issue
Block a user