mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fix: initial attempt
This commit is contained in:
parent
ef90875a1c
commit
3d04223800
2 changed files with 7 additions and 7 deletions
|
|
@ -9,8 +9,10 @@ ENV IMAGE_TAG="${VERSION}"
|
|||
ENV VARIANT="Server"
|
||||
ENV VERSION="${VERSION}"
|
||||
ENV WEB_UI="false"
|
||||
ENV OUTPUT_DIR="/github/workspace/build"
|
||||
|
||||
RUN mkdir /build-container-installer
|
||||
|
||||
COPY / /build-container-installer/
|
||||
|
||||
WORKDIR /build-container-installer
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
for entry in $@
|
||||
do
|
||||
for entry in $@; do
|
||||
export $entry
|
||||
done
|
||||
|
||||
|
|
@ -17,9 +16,8 @@ make boot.iso $@
|
|||
make build/deploy.iso $@
|
||||
|
||||
# Make output dir in github workspace
|
||||
mkdir /github/workspace/build || true
|
||||
mkdir ${OUTPUT_DIR} || true
|
||||
|
||||
# Copy resulting iso to github workspace and fix permissions
|
||||
cp build/deploy.iso /github/workspace/build
|
||||
chmod -R ugo=rwX /github/workspace/build
|
||||
|
||||
cp build/deploy.iso ${OUTPUT_DIR}
|
||||
chmod -R ugo=rwX ${OUTPUT_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue