update image tag regexp

- the image tags can have `-` and `_`, so the regex was updated to reflect that