Merge pull request 'Fix/image hardening' (#8) from fix/image-hardening into main
build-image / validate (push) Successful in 9s
ci / cook (push) Successful in 9s
build-image / build-image (phyllomeos-headless, 8192) (push) Failing after 8m54s
build-image / build-image (phyllomeos, 16384) (push) Failing after 17m56s

Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
2026-09-23 17:10:08 +00:00
3 changed files with 5 additions and 13 deletions
+3 -11
View File
@@ -1,8 +1,10 @@
name: build-image name: build-image
# Only a release tag builds images: a full build takes ~25 min on the runner,
# too costly to repeat on every push to main. Recipes are still linted and
# validated on every push by ci.yml.
on: on:
push: push:
branches: [main]
tags: ["v*.*.*"] tags: ["v*.*.*"]
# Builds raw disk images of the two default-tier editions (see # Builds raw disk images of the two default-tier editions (see
@@ -85,16 +87,6 @@ jobs:
./build-image.sh --dish "$dish" --root-size ${{ matrix.root_size }} ./build-image.sh --dish "$dish" --root-size ${{ matrix.root_size }}
xz -T0 "build/$dish.img" xz -T0 "build/$dish.img"
- name: Upload image and kickstart as artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.edition }}
path: |
build/${{ env.DISH }}.img.xz
cook/dishes/${{ env.DISH }}.cfg
if-no-files-found: error
- name: Publish image and kickstart as release - name: Publish image and kickstart as release
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
uses: https://git.phyllo.me/devops/action-gh-release@v2 uses: https://git.phyllo.me/devops/action-gh-release@v2
+1 -1
View File
@@ -1,5 +1,5 @@
# Keyboard, language, and timezone configuration # Keyboard, language, and timezone configuration
keyboard --xlayouts='ch (fr)' # Set keyboard layouts for Romandy keyboard --vckeymap=ch-fr --xlayouts='ch (fr)' # Set keyboard layouts for Romandy: --vckeymap for the text console (tty login, headless), --xlayouts for graphical sessions
lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK
timezone Europe/Zurich --utc # Set system timezone to Zurich timezone Europe/Zurich --utc # Set system timezone to Zurich
+1 -1
View File
@@ -1,3 +1,3 @@
# Network configuration # Network configuration
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network devices, enable them at boot time device and sets a particular hostname. "link" selects the first device reaching an up state network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllomeos # Configure network devices, enable them at boot time device and sets a generic hostname (rename per machine after install). "link" selects the first device reaching an up state