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

This commit is contained in:
Jose Diaz-Gonzalez
2017-12-13 15:54:19 -05:00
committed by GitHub
parent 4ae56cf01c
commit 21645247fb

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