Access Attributes tab from product data inside your product edit mode, and found variations are separated by pipe sign like the following screen.
To Convert these manually created attribute variations, head to Swatches Settings tab, and select Image type from Select (Default) Dropdown.
Step O3: Select Image For Variations
After selecting attribute type, press the Image attribute accordion, it will reveal setting to add images for its available variations. and after that you can publish the page.