I have previously created similar actions for batch processing. My approach was to keep one image (the dog, in your case) while running the batch process. After opening the pattern image, you can copy it, switch to the open image with the dog, perform your desired actions, copy the content, delete any extra layers created by the action, switch back to the batch-opened pattern image, paste the copied content, and optionally resize the canvas. Finally, save it with the pattern name or add a prefix or suffix to the file name when using Image Processor Pro for batch operations.
There are certainly other ways to achieve results. Please share the requested screenshots with @Stephen_A_Marsh so we can investigate and possibly assist you in reaching your goal.
... View more