Is this for flashing in Luci or Uboot?

Either way, I believe for Luci you need to use the system upgrade image (the .tar file)

For uboot you need the uboot image (the .img), pretty obvious😄