Merge pull request #2109 from dokku/modify-deployed-image

Allow user to modify the repository and tag when deploying an app
This commit is contained in:
Michael Hobbs authored and GitHub committed 2016-06-16 12:43:11 -07:00
commit 5c741696fc
4 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ dokku_deploy_cmd() {
declare desc="deploy phase"
local cmd="deploy"
[[ -z $2 ]] && dokku_log_fail "Please specify an app to deploy"
local APP="$2"; local IMAGE_TAG="$3"; local IMAGE=$(get_app_image_name "$APP" "$IMAGE_TAG")
local APP="$2"; local IMAGE_TAG="$3"; local IMAGE=$(get_deploying_app_image_name "$APP" "$IMAGE_TAG")
verify_app_name "$APP"
plugn trigger pre-deploy "$APP" "$IMAGE_TAG"