1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

feat: added sha256 checksum generation

This commit is contained in:
Noel Miller 2024-03-06 02:08:03 -06:00
parent f15867f2dc
commit 87508ad71f
2 changed files with 4 additions and 2 deletions

View file

@ -101,7 +101,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ env.ISO_NAME }}.iso
path: ${{ github.workspace}}/${{ env.ISO_NAME }}.iso
path: ${{ github.workspace}}/*
if-no-files-found: error
retention-days: 0
compression-level: 0

View file

@ -41,6 +41,8 @@ build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.t
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
implantisomd5 build/deploy.iso
mv build/deploy.iso build/$(ISO_NAME).iso
cd build
sha256sum $(ISO_NAME).iso > $(ISO_NAME)-CHECKSUM
# Step 1: Generate Lorax Templates
lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
@ -176,7 +178,7 @@ clean:
rm -f $(_BASE_DIR)/*.log || true
install-deps:
dnf install -y lorax xorriso skopeo
dnf install -y lorax xorriso skopeo coreutils
test-iso:
$(eval _TESTS = $(filter-out README.md,$(shell ls tests/iso)))