ci: allow overriding notification recipients
@@ -55,6 +55,12 @@ EXTRA_ARGS=
if [ ! -z "${VERSION:-}" ]; then
EXTRA_ARGS="--version=${VERSION}"
fi
+if [ ! -z "${ADDITIONAL_RECIPIENTS:-}" ]; then
+ EXTRA_ARGS="${EXTRA_ARGS} --additional-recipients=${ADDITIONAL_RECIPIENTS}"
+fi
+if [ ! -z "${ONLY_RECIPIENTS:-}" ]; then
+ EXTRA_ARGS="${EXTRA_ARGS} --only-recipients=${ONLY_RECIPIENTS}"
+fi
cleanup_pipelineruns
