Private
Public Access
1
0

Architectural fix: native containers with Node.js on runner host (debian:bookworm, fedora:latest, alpine:latest, archlinux:latest)

This commit is contained in:
2026-04-13 03:06:02 +00:00
parent 27ec73b30f
commit 2d1ef16a75

View File

@ -89,7 +89,7 @@ jobs:
build-deb: build-deb:
name: Build Debian Package name: Build Debian Package
runs-on: linux runs-on: linux
container: node:18 container: debian:bookworm
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -113,7 +113,7 @@ jobs:
build-rpm: build-rpm:
name: Build RPM Package name: Build RPM Package
runs-on: linux runs-on: linux
container: node:18 container: fedora:latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -121,8 +121,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- name: Install RPM build tools - name: Install RPM build tools
run: | run: |
apt-get update dnf install -y rpm-build gcc cargo rust libsystemd-devel pkgconfig-pkg-config
apt-get install -y rpm rpm-common gcc build-essential cargo rustc libsystemd-dev pkg-config
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release
- name: Build RPM package - name: Build RPM package
@ -137,7 +136,7 @@ jobs:
build-apk: build-apk:
name: Build Alpine Package name: Build Alpine Package
runs-on: linux runs-on: linux
container: alpine/node:latest container: alpine:latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -162,8 +161,6 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Node.js for GitHub Actions
run: pacman -Sy --noconfirm nodejs npm
- name: Install build dependencies - name: Install build dependencies
run: | run: |
pacman -Syu --noconfirm rust cargo systemd git base-devel pacman -Syu --noconfirm rust cargo systemd git base-devel