Merge pull request #8100 from othercorey/run-proc-label
Add process-type label for run with procfile cmd
This commit is contained in:
@@ -83,6 +83,7 @@ trigger-scheduler-docker-local-scheduler-run() {
|
|||||||
|
|
||||||
if [[ -n "$PROC_CMD" ]]; then
|
if [[ -n "$PROC_CMD" ]]; then
|
||||||
dokku_log_info1_quiet "Found '$POTENTIAL_PROCFILE_KEY' in Procfile, running that command"
|
dokku_log_info1_quiet "Found '$POTENTIAL_PROCFILE_KEY' in Procfile, running that command"
|
||||||
|
DOCKER_ARGS+=" --label=com.dokku.process-type=$POTENTIAL_PROCFILE_KEY"
|
||||||
set -- "$PROC_CMD" "${@:2}"
|
set -- "$PROC_CMD" "${@:2}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user