🎥 Make videos programmatically with React
easier submit, no need to specify version
Jonny Burgerf4fbd954caa8
diff --git a/packages/cloudrun/container/readme.md b/packages/cloudrun/container/readme.mdindex 71f21eed8a..8149702a3b 100644--- a/packages/cloudrun/container/readme.md+++ b/packages/cloudrun/container/readme.md@@ -104,6 +104,5 @@ Complete a build for the GCP package, so that `cloudrun/container` contains an uc. Typing `gcloud config list` should show that the correct account and project are actived. if remotion-dev is not the current project, run `gcloud config set project remotion-dev`3. `cd` into the `packages/cloudrun/container` folder.-4. Run `gcloud builds submit --tag us-docker.pkg.dev/remotion-dev/cloud-run/render:VERSION` replacing- VERSION with the current Remotion version.+4. Run `node submit.mjs`5. Navigate to [Artifact Registry](https://console.cloud.google.com/artifacts/docker/remotion-dev/us/cloud-run/render?project=remotion-dev) to see the new image, with the correct tag.diff --git a/packages/cloudrun/container/submit.mjs b/packages/cloudrun/container/submit.mjsnew file mode 100644index 0000000000..b6c63b2a44--- /dev/null+++ b/packages/cloudrun/container/submit.mjs@@ -0,0 +1,8 @@+import {execSync} from 'child_process';+import {VERSION} from 'remotion/version';++execSync(+ 'gcloud builds submit --tag us-docker.pkg.dev/remotion-dev/cloud-run/render:' ++ VERSION,+ {stdio: 'inherit'}+);