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

fix: simplified build process

This commit is contained in:
Noel Miller 2024-03-05 23:21:02 -06:00
parent 1f13050cd3
commit fd273e0329
3 changed files with 2 additions and 9 deletions

View file

@ -17,7 +17,7 @@ env:
VARIANT: 'Server' VARIANT: 'Server'
SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der' SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
ENROLLMENT_PASSWORD: 'container-installer' ENROLLMENT_PASSWORD: 'container-installer'
OUTPUT_DIR: '/github/workspace/build' OUTPUT_DIR: '/build-container-installer/build'
jobs: jobs:

View file

@ -9,7 +9,7 @@ ENV IMAGE_TAG="${VERSION}"
ENV VARIANT="Server" ENV VARIANT="Server"
ENV VERSION="${VERSION}" ENV VERSION="${VERSION}"
ENV WEB_UI="false" ENV WEB_UI="false"
ENV OUTPUT_DIR="/github/workspace/build" ENV OUTPUT_DIR="/build-container-installer/build"
RUN mkdir /build-container-installer RUN mkdir /build-container-installer

View file

@ -14,10 +14,3 @@ make boot.iso $@
# Add container to ISO # Add container to ISO
make build/deploy.iso $@ make build/deploy.iso $@
# Make output dir in github workspace
mkdir ${OUTPUT_DIR} || true
# Copy resulting iso to github workspace and fix permissions
cp /build-container-installer/build/deploy.iso ${OUTPUT_DIR}
chmod -R ugo=rwX ${OUTPUT_DIR}