Temporal Archive not working

We’re running a self-hosted Temporal cluster on AWS ECS, not via Helm.
Each Temporal service (frontend, history, matching, worker) runs as its own ECS service using temporal-server official docker image.

From the CLI (temporal operator namespace describe default), both History and Visibility archival show as Enabled, and the /tmp/temporal_archival aswell.

However — when workflows pass their retention period, they are deleted from persistence but don’t appear in the archive list, and nothing new shows up under /tmp/temporal_archival or /tmp/temporal_vis_archival.

Can I please get more information regarding how archive works so I can set it up? Thank you!

After reading more and using the slack channel, I see that using file system to store the archives in containers is not very good. I also have tried configuring an s3 bucket to store them but it still does not work as I could not modify the default values when building the image, can someone please help me with this?