🎥 Make videos programmatically with React
cloud run
Jonny Burger43e1507db19f
diff --git a/.github/workflows/deploy-gcp-artifact.yml b/.github/workflows/deploy-gcp-artifact.ymlindex 7430641959..87bf5b0a58 100644--- a/.github/workflows/deploy-gcp-artifact.yml+++ b/.github/workflows/deploy-gcp-artifact.yml@@ -54,7 +54,7 @@ jobs:id: versionuses: notiz-dev/github-action-json-property@releasewith:- path: "packages/gcp/container/package.json"+ path: "packages/cloudrun/container/package.json"prop_path: "version"- run: echo version pulled from package.json":" "${{ steps.version.outputs.prop }}"@@ -79,7 +79,7 @@ jobs:name: Tag Docker image and push to Google Artifact Registryuses: docker/build-push-action@v4with:- context: packages/gcp/container+ context: packages/cloudrun/containerpush: truetags: |us-docker.pkg.dev/remotion-dev/cloud-run/render:${{ steps.version.outputs.prop }}diff --git a/packages/cloudrun/container/readme.md b/packages/cloudrun/container/readme.mdindex ae6dabf6a9..71f21eed8a 100644--- a/packages/cloudrun/container/readme.md+++ b/packages/cloudrun/container/readme.md@@ -95,7 +95,7 @@ This pipeline should work as is, but the steps are recorded here for future trou## Backup - Manual Upload to Artifact Registry-Complete a build for the GCP package, so that `gcp/container` contains an up-to-date `dist` folder.+Complete a build for the GCP package, so that `cloudrun/container` contains an up-to-date `dist` folder.1. Install the GCloud CLI - [Link](https://cloud.google.com/sdk/docs/install)2. Init GCloud CLI by running `gcloud init`@@ -103,7 +103,7 @@ Complete a build for the GCP package, so that `gcp/container` contains an up-to-b. Within the shell, you should see remotion-dev as a project to use. Select thisc. 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/gcp/container` folder.+3. `cd` into the `packages/cloudrun/container` folder.4. Run `gcloud builds submit --tag us-docker.pkg.dev/remotion-dev/cloud-run/render:VERSION` replacingVERSION with the current Remotion version.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/readme.md b/packages/cloudrun/readme.mdindex ffaca5e886..fb923db73a 100644--- a/packages/cloudrun/readme.md+++ b/packages/cloudrun/readme.md@@ -1,4 +1,4 @@-from the root, `pnpm i && pnpm build` will trigger a build command for all packages. For the GCP package, this will bundle the required code into `gcp/container`.+from the root, `pnpm i && pnpm build` will trigger a build command for all packages. For the GCP package, this will bundle the required code into `cloudrun/container`.The /container folder contains a package.json that lists functions-framework as a dependency, and a Dockerfile that will build the container. Functions-framework is a nodejs framework that allows you to run nodejs code in a containerized environment.