Skip to content

Build & Deploy Cloudrun Function POC #3

Build & Deploy Cloudrun Function POC

Build & Deploy Cloudrun Function POC #3

name: Build & Deploy Cloudrun Function POC
on:
push:
branches:
- poc
paths:
- 'fivetran-trigger/**'
workflow_dispatch:
inputs:
function_name:
description: 'The name of the Cloud Function to deploy'
required: true
default: 'fivetran-trigger'
entry_point:
description: 'The python function serving as the entry point'
required: true
default: 'hello_http'
runtime:
description: 'The function runtime'
required: true
default: 'python312'
jobs:
build_and_deploy:
uses: CruGlobal/.github/.github/workflows/build-deploy-cloudrun-function.yml@gcp-cloudrun #temporarily using branch for testing

Check failure on line 27 in .github/workflows/build-deploy-cloudrun-function_poc.yml

View workflow run for this annotation

GitHub Actions / Build & Deploy Cloudrun Function POC

Invalid workflow file

The workflow is not valid. In .github/workflows/build-deploy-cloudrun-function_poc.yml (Line: 27, Col: 11): Error from called workflow CruGlobal/.github/.github/workflows/build-deploy-cloudrun-function.yml@gcp-cloudrun (Line: 36, Col: 23): Unrecognized named-value: 'env'. Located at position 1 within expression: env.GCP_PROJECT_ID In .github/workflows/build-deploy-cloudrun-function_poc.yml (Line: 27, Col: 11): Error from called workflow CruGlobal/.github/.github/workflows/build-deploy-cloudrun-function.yml@gcp-cloudrun (Line: 37, Col: 27): Unrecognized named-value: 'env'. Located at position 1 within expression: env.GCP_PROJECT_NUMBER
with:
function_name: ${{ github.event.inputs.function_name }}
entry_point: hello_http
runtime: python312
environment: poc