feat: generate ISO sha256 checksum on build

artools only embeds internal LiveOS md5 files; nothing verifies the ISO
itself. Emit <iso>.sha256 alongside the artifact in both CI and the
podman build script so releases ship a verifiable checksum.
This commit is contained in:
2026-08-17 18:14:07 +02:00
parent b46206d54f
commit dab33f11e2
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -59,6 +59,14 @@ jobs:
run: |
sudo -E ./buildiso -p antergos
- name: Generate checksums
run: |
cd "${WORKSPACE_DIR}/iso/antergos"
ISO=$(ls antergos-*.iso | head -1)
[[ -z "$ISO" || ! -f "$ISO" ]] && { echo "No ISO found"; exit 1; }
sha256sum "$ISO" > "$ISO.sha256"
cat "$ISO.sha256"
- name: Upload ISO artifact
uses: actions/upload-artifact@v4
with: