Welcome to our forum.
While what your doing would "work", code calls for an insulated green wire for the ground and specifically disallows green tape on another color of wire.