Switch workflows to Debian 13 (Trixie) containers

- Change from Ubuntu to Debian 13 containers for both workflows
- Update environment variables from UBUNTU_VERSION to DEBIAN_VERSION
- Add explanatory comments about using Debian for Debian-focused project
- Update build info files to reflect Debian version instead of Ubuntu
- Maintain all Rust toolchain and build logic improvements
This commit is contained in:
robojerk 2025-08-09 23:56:18 -07:00
parent df5a4bf585
commit cfdf091bdd
2 changed files with 10 additions and 8 deletions

View file

@ -23,15 +23,16 @@ on:
workflow_dispatch:
env:
UBUNTU_VERSION: "24.04"
RUST_VERSION: "1.75.0"
DEBIAN_VERSION: "13"
RUST_VERSION: "1.84.1"
jobs:
build-artifacts:
name: Build deb-bootupd Artifacts
runs-on: ubuntu-latest
container:
image: ubuntu:latest
container:
# Use Debian 13 (Trixie) since this is a Debian-focused project
image: debian:13
steps:
- name: Setup build environment
shell: bash
@ -165,7 +166,7 @@ jobs:
deb-bootupd Build Information
=============================
Build Date: $(date)
Ubuntu Version: ${UBUNTU_VERSION}
Debian Version: ${DEBIAN_VERSION}
Rust Version: $(rustc --version)
Cargo Version: $(cargo --version)
Git Commit: $(git rev-parse --short HEAD)
@ -237,7 +238,7 @@ jobs:
deb-bootupd Build Summary
=========================
Build Date: $(date)
Ubuntu Version: ${UBUNTU_VERSION}
Debian Version: ${DEBIAN_VERSION}
Rust Version: $(rustc --version)
Git Commit: $(git rev-parse --short HEAD)
Git Branch: $(git branch --show-current)

View file

@ -13,8 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
container:
# Use Debian 13 (Trixie) since this is a Debian-focused project
image: debian:13
steps:
- name: Checkout code and setup environment
run: |