fix: scope non-zero return on invalid image to just the deploy command

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-12-13 15:54:19 -05:00
1 parent 4ae56cf01c
commit 21645247fb
1 file changed
+2 -1
+2 -1
View File
@@ -10,7 +10,8 @@ tags_deploy_cmd() {
local APP="$2"; local IMAGE_TAG="$3"
verify_app_name "$APP"
release_and_deploy "$APP" "$IMAGE_TAG"
verify_image "$IMAGE" || return 1
release_and_deploy "$APP" "$IMAGE_TAG"
}
tags_deploy_cmd "$@"