Bug with the automator action "rotate an image" and tags
Yes the Tags do get wiped on mine.

As an example of resetting them. You can collect the tags first apply your changes and then reset them after.



1, set the first Set Value of Variable  to the file path (input)  :var named File

2, Pass the file path to a Run Applescript : collecting the tag info.

This example works on a single file.

Code:

on run {input, parameters}
set tag to do shell script "xattr -px com.apple.metadata:_kMDItemUserTags" &amp; space &amp; quoted form of POSIX path of (item 1 of input)
return tag


end run

3, pass the result on to a Set Value of Variable :var named tag

4, Get value of Variable :var File:  ignore input from the above action.

5,Pass it onto the Rotate Images Action

6,Get value of Variable :var tag:  The image path from the Rotate Images Action will also be collected  by this action. 

7, Pass the file path and tag array on to a Run Applescript

on run {input, parameters}

    set theFile to item 1 of input
    set theTags to item 2 of input
    do shell script "xattr -wx com.apple.metadata:_kMDItemUserTags" &amp; space &amp; quoted form of theTags &amp; space &amp; quoted form of POSIX path of theFile

end run


This is just an example which worked on my simple tests and you may want to test it on copies first.