Skip to content

Commit 7c3cc4f

Browse files
committed
fix(docker): provide config path for import
1 parent 9e6dab6 commit 7c3cc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/docker/server/server-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ if [ -n "${SEMAPHORE_IMPORT_PROJECT_FILE:-}" ]; then
280280
IMPORT_ARGS="${IMPORT_ARGS} --project-name ${SEMAPHORE_IMPORT_PROJECT_NAME}"
281281
fi
282282
if test "$#" -ne 1; then
283-
/usr/local/bin/semaphore project import ${IMPORT_ARGS} || echoerr "Project import failed"
283+
/usr/local/bin/semaphore project import ${IMPORT_ARGS} --config "${SEMAPHORE_CONFIG_PATH}/config.json" || echoerr "Project import failed"
284284
else
285285
"$1" project import ${IMPORT_ARGS} || echoerr "Project import failed"
286286
fi

0 commit comments

Comments
 (0)