build_artifact: select correct signed image

xbuddy has a concept of "signed" image, but there are actually
a number of signed artifacts. The only one you'd be likely to
want to flash to USB would be the recovery image though.

This regex specifies that this should be a recovery image.

Example failing case:
xbuddy://remote/flapjack/latest-canary/signed ->
Currently fails due to two matches. Retreives the correct
image with this change.

TEST=cros flash usb:// xbuddy://remote/flapjack/latest-canary/signed

Change-Id: If9c4d545246aea3f99196cbb2a544db9f064da90
Commit-Ready: Nick Sanders <>
Tested-by: Nick Sanders <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Congbin Guo <>
Reviewed-by: Amin Hassani <>
1 file changed