pass image tag from release_and_deploy down through extract_procfile. closed #2226

This commit is contained in:
Michael Hobbs
2016-06-06 11:31:13 -07:00
parent 74e861417e
commit 166f7f38e4
2 changed files with 4 additions and 4 deletions

View File

@@ -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"