mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
correction to package format
the package format was slightly off - there should have been a folder in the root of the archive wrapping the package contents. This is now implemented.
This commit is contained in:
+6
-6
@@ -69,13 +69,13 @@ for platform in "linux/amd64" "linux/arm64"; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# add files
|
# add files
|
||||||
mkdir ${STAGING_DIR}
|
PACKAGE_ROOT=${STAGING_DIR}/${OUTPUT_NAME}
|
||||||
cp ${PROJECT_ROOT}/install.sh ${STAGING_DIR}/
|
IMAGES_DIR=${PACKAGE_ROOT}/images
|
||||||
cp -a ${PROJECT_ROOT}/root ${STAGING_DIR}/
|
mkdir -p ${IMAGES_DIR}
|
||||||
|
cp ${PROJECT_ROOT}/install.sh ${PACKAGE_ROOT}/
|
||||||
|
cp -a ${PROJECT_ROOT}/root ${PACKAGE_ROOT}/
|
||||||
|
|
||||||
# add images
|
# add images
|
||||||
IMAGES_DIR=${STAGING_DIR}/images
|
|
||||||
mkdir -p ${IMAGES_DIR}
|
|
||||||
i=0
|
i=0
|
||||||
# read image list from file (e.g. 'images-aarch64')
|
# read image list from file (e.g. 'images-aarch64')
|
||||||
# images are listed as SAVED_TAG=SOURCE_IMAGE
|
# images are listed as SAVED_TAG=SOURCE_IMAGE
|
||||||
@@ -97,7 +97,7 @@ for platform in "linux/amd64" "linux/arm64"; do
|
|||||||
rm -rf $OUTPUT_PATH
|
rm -rf $OUTPUT_PATH
|
||||||
|
|
||||||
pushd $STAGING_DIR > /dev/null
|
pushd $STAGING_DIR > /dev/null
|
||||||
tar -cjf $OUTPUT_PATH *
|
tar -cjf $OUTPUT_PATH ${OUTPUT_NAME}
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
# cleanup staging files
|
# cleanup staging files
|
||||||
|
|||||||
Reference in New Issue
Block a user