When docker build, docker tag is none

hello

when docker build, docker tag is none…
i use cmd
$ docker build .

but i used build option ‘–tag [images name]:[tag name]’
$ docker build --tag centos:7

result is not none

What is the difference between the two commands?

thank you