这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/ps/functions
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ print_dokku_scale_file() {
extract_procfile() {
declare desc="extracts procfile from app image"
local APP="$1"
local IMAGE_TAG="$(get_running_image_tag "$APP")"
local IMAGE_TAG="$2"
local IMAGE="$(get_app_image_name "$APP" "$IMAGE_TAG")"
local DOKKU_PROCFILE="$DOKKU_ROOT/$APP/DOKKU_PROCFILE"
verify_app_name "$APP"
Expand Down
6 changes: 3 additions & 3 deletions plugins/ps/pre-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions"
ps_pre_deploy() {
declare desc="ps pre-deploy plugin trigger"
local trigger="ps_pre_deploy"
local APP="$1"
local APP="$1"; local IMAGE_TAG="$2"

extract_procfile "$APP"
generate_scale_file "$APP"
extract_procfile "$APP" "$IMAGE_TAG"
generate_scale_file "$APP" "$IMAGE_TAG"
}

ps_pre_deploy "$@"