diff --git a/docs/learn/106-cloudrun.md b/docs/learn/106-cloudrun.md index 2a954c05..96aec4ca 100644 --- a/docs/learn/106-cloudrun.md +++ b/docs/learn/106-cloudrun.md @@ -61,27 +61,27 @@ src: dagger.#Artifact & dagger.#Input imageRef: string & dagger.#Input image: docker.#Build & { - source: src + source: src } gcpConfig: gcp.#Config creds: gcr.#Credentials & { - config: gcpConfig + config: gcpConfig } push: docker.#Push & { - target: imageRef - source: image - auth: { - username: creds.username - secret: creds.secret - } + target: imageRef + source: image + auth: { + username: creds.username + secret: creds.secret + } } deploy: cloudrun.#Service & { - config: gcpConfig - image: push.ref + config: gcpConfig + image: push.ref } ``` diff --git a/docs/reference/universe/gcp/cloudrun.md b/docs/reference/universe/gcp/cloudrun.md index 85bfdfdb..74bc240b 100644 --- a/docs/reference/universe/gcp/cloudrun.md +++ b/docs/reference/universe/gcp/cloudrun.md @@ -14,14 +14,15 @@ Service deploys a Cloud Run service based on provided GCR image ### cloudrun.#Service Inputs -| Name | Type | Description | -| ------------- |:-------------: |:-------------: | -|*config.region* | `string` |GCP region | -|*config.project* | `string` |GCP project | -|*config.serviceKey* | `dagger.#Secret` |GCP service key | -|*name* | `string` |service name | -|*image* | `string` |GCR image ref | -|*platform* | `*"managed" \| string` |Cloud Run platform | +| Name | Type | Description | +| ------------- |:-------------: |:-------------: | +|*config.region* | `string` |GCP region | +|*config.project* | `string` |GCP project | +|*config.serviceKey* | `dagger.#Secret` |GCP service key | +|*name* | `string` |Cloud Run service name | +|*image* | `string` |GCR image ref | +|*platform* | `*"managed" \| string` |Cloud Run platform | +|*port* | `*"80" \| string` |Cloud Run service exposed port | ### cloudrun.#Service Outputs