mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(build-system): fix invalid template copy step (#2089)
This commit is contained in:
parent
8cca3de70b
commit
2e0d1f289c
2 changed files with 6 additions and 10 deletions
2
build.sh
2
build.sh
|
@ -14,7 +14,7 @@ function build_and_push_images() {
|
|||
function build_archive() {
|
||||
BUILD_FOLDER="${ARCHIVE_BUILD_FOLDER}/$1"
|
||||
rm -rf ${BUILD_FOLDER} && mkdir -pv ${BUILD_FOLDER}/portainer
|
||||
mv dist/* ${BUILD_FOLDER}/portainer/
|
||||
cp -r dist/* ${BUILD_FOLDER}/portainer/
|
||||
cd ${BUILD_FOLDER}
|
||||
tar cvpfz "portainer-${VERSION}-$1.tar.gz" portainer
|
||||
mv "portainer-${VERSION}-$1.tar.gz" ${ARCHIVE_BUILD_FOLDER}/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue