To build a Rawhide image:
$ sudo mkosi
or if you prefer to build an image for a specific release:
$ sudo mkosi --release 38
This assumes you have mkosi installed, if not
$ sudo dnf install mkosi
If you're not building on aarch64, you'll also want
$ sudo dnf install qemu-user-static-aarch64