File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -916,6 +916,13 @@ mkdir -p /data
916
916
init_crosscompile
917
917
start_docker
918
918
919
+ # Load external repository
920
+ if [ -n " $GIT_REPOSITORY " ]; then
921
+ bashio::log.info " Checkout repository $GIT_REPOSITORY "
922
+ git clone --depth 1 --branch " $GIT_BRANCH " " $GIT_REPOSITORY " /data/git 2> /dev/null
923
+ TARGET=" /data/git/$TARGET "
924
+ fi
925
+
919
926
# Convert configuration files to json if needed
920
927
convert_to_json
921
928
@@ -928,13 +935,6 @@ if [ -n "$DOCKER_USER" ] && [ -n "$DOCKER_PASSWORD" ]; then
928
935
fi
929
936
codenotary_setup
930
937
931
- # Load external repository
932
- if [ -n " $GIT_REPOSITORY " ]; then
933
- bashio::log.info " Checkout repository $GIT_REPOSITORY "
934
- git clone --depth 1 --branch " $GIT_BRANCH " " $GIT_REPOSITORY " /data/git 2> /dev/null
935
- TARGET=" /data/git/$TARGET "
936
- fi
937
-
938
938
# Select arch build
939
939
if [ " ${# BUILD_LIST[@]} " -ne 0 ]; then
940
940
bashio::log.info " Run $BUILD_TYPE build for: ${BUILD_LIST[*]} "
You can’t perform that action at this time.
0 commit comments