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
fca94bc4c4
commit
1bc8f5926f
2 changed files with 7 additions and 7 deletions
|
|
@ -9,8 +9,10 @@ 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"
|
||||||
|
|
||||||
RUN mkdir /build-container-installer
|
RUN mkdir /build-container-installer
|
||||||
|
|
||||||
COPY / /build-container-installer/
|
COPY / /build-container-installer/
|
||||||
|
|
||||||
WORKDIR /build-container-installer
|
WORKDIR /build-container-installer
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
for entry in $@
|
for entry in $@; do
|
||||||
do
|
|
||||||
export $entry
|
export $entry
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
@ -17,9 +16,8 @@ make boot.iso $@
|
||||||
make build/deploy.iso $@
|
make build/deploy.iso $@
|
||||||
|
|
||||||
# Make output dir in github workspace
|
# Make output dir in github workspace
|
||||||
mkdir /github/workspace/build || true
|
mkdir ${OUTPUT_DIR} || true
|
||||||
|
|
||||||
# Copy resulting iso to github workspace and fix permissions
|
# Copy resulting iso to github workspace and fix permissions
|
||||||
cp build/deploy.iso /github/workspace/build
|
cp build/deploy.iso ${OUTPUT_DIR}
|
||||||
chmod -R ugo=rwX /github/workspace/build
|
chmod -R ugo=rwX ${OUTPUT_DIR}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue