fix: scope non-zero return on invalid image to just the deploy command
This commit is contained in:
committed by
GitHub
parent
4ae56cf01c
commit
21645247fb
@@ -10,7 +10,8 @@ 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"
|
||||||
|
|
||||||
release_and_deploy "$APP" "$IMAGE_TAG"
|
verify_image "$IMAGE" || return 1
|
||||||
|
release_and_deploy "$APP" "$IMAGE_TAG"
|
||||||
}
|
}
|
||||||
|
|
||||||
tags_deploy_cmd "$@"
|
tags_deploy_cmd "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user