Wrong image tagging for multistage builds
If I create a Dockerfile with named multistage images, for example backend and frontend, and frontend copies files from backend, podman-compose taggs both image names to the same image id.
Expected behavior is, that two images with a single tag is created.
I created a simple example to reproduce that behavior: Dockerfile.txt docker-compose.yml.txt
(As Github only accepts a few filetypes, I added .txt to both files.)
If I run docker-compose build, both images are built but the last image defined in Dockerfile will get both tags and the other image is not tagged:

If I now do podman-compose up, and podman exec -it test_backend_1 /bin/bash /copiedfile exists in the image instead of testfile.
Greetings Jan
I have a similar issue with my multistage configuration.