I followed all the steps in the tutorial to create a time series of images, according to the tutorial:
https://docs.geoserver.org/latest/en/user/tutorials/imagemosaic