To avoid a mess, do not publish packages on PR builds.
When building the master (or main) branch, create docker image that uses the tag 'latest' and a that that consists of the version number read from the __init__.py file. Use label 'dev' for all other builds.