cloudflare / serverless-registry

A container registry backed by Workers and R2.
Apache License 2.0
1.01k stars 37 forks source link

docs: Consistently use env production #3

Closed Erisa closed 1 year ago

Erisa commented 1 year ago

When I tried this I got two workers, r2-registry and r2-registry-production, due to the commands largely adding --env production

Since that wasn't present for the secret put commands they went to the r2-registry worker instead of the -production one, causing me to experience some confusion about why the secret change wasn't taking effect.

This resolves that by adding --env production to the secret commands too. There could be an argument to made that removing it from all the commands works too, but this option seemed less destructive to the current instructions

gabivlj commented 1 year ago

Thank you @Erisa!