is your image building correctly? the name does not get set when there is an error in the build. This because every step in the build is a new image created and with an error you won’t get to the last step with the correctly named image
btw you can set it manually with the tag command https://docs.docker.com/engine/reference/commandline/tag/