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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user