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
+1
+1
View File
@@ -10,6 +10,7 @@ tags_deploy_cmd() {
local APP="$2"; local IMAGE_TAG="$3" local APP="$2"; local IMAGE_TAG="$3"
verify_app_name "$APP" verify_app_name "$APP"
verify_image "$IMAGE" || return 1
release_and_deploy "$APP" "$IMAGE_TAG" release_and_deploy "$APP" "$IMAGE_TAG"
} }