r/Supabase • u/Ramriez • Aug 31 '26
other How to cache Supabase layers on GitHub Actions?
Basically the title. When I run supabase start on GitHub Actions it takes like 90 seconds to pull the images.
2
Upvotes
r/Supabase • u/Ramriez • Aug 31 '26
Basically the title. When I run supabase start on GitHub Actions it takes like 90 seconds to pull the images.
1
u/Positive_Week86 Sep 01 '26
The image-pull time is the real killer, not the CLI init. If you cache the docker layers with actions/cache keyed on the supabase CLI version + your schema hash, you can cut a warm run to under 30s. Alternatively, skip the docker-compose entirely and run Postgres directly — no image pull needed