Fix temp path for AiO Docker build

This commit is contained in:
Georg Krause 2021-08-17 10:45:27 +02:00
parent 972ebd4fe3
commit 8d44ce3273
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ docker_all_in_one_release:
- if [[ ! -z "$CI_COMMIT_TAG" ]]; then (./docs/get-releases-json.py | scripts/is-docker-latest.py $CI_COMMIT_TAG -) && export DOCKER_LATEST_TAG="-t $ALL_IN_ONE_IMAGE_LATEST" || export DOCKER_LATEST_TAG=; fi - if [[ ! -z "$CI_COMMIT_TAG" ]]; then (./docs/get-releases-json.py | scripts/is-docker-latest.py $CI_COMMIT_TAG -) && export DOCKER_LATEST_TAG="-t $ALL_IN_ONE_IMAGE_LATEST" || export DOCKER_LATEST_TAG=; fi
- wget $ALL_IN_ONE_ARTIFACT_URL -O all_in_one.zip - wget $ALL_IN_ONE_ARTIFACT_URL -O all_in_one.zip
- unzip -o all_in_one.zip -d tmpdir - unzip -o all_in_one.zip -d tmpdir
- mv tmpdir/docker-funkwhale-$ALL_IN_ONE_REF $BUILD_PATH && rmdir tmpdir - mv tmpdir/funkwhale-docker-all-in-one-$ALL_IN_ONE_REF $BUILD_PATH && rmdir tmpdir
- cp -r api $BUILD_PATH/src/api - cp -r api $BUILD_PATH/src/api
- cp -r front $BUILD_PATH/src/front - cp -r front $BUILD_PATH/src/front
- cd $BUILD_PATH - cd $BUILD_PATH