The -t argument is documented as setting the tag. When setting -t, it sets it as the build type, while setting --tag works as expected.