From f3646af5fe23cdf64c4370367444f7edce10f02a Mon Sep 17 00:00:00 2001 From: Luis Rodriguez Date: Tue, 29 Oct 2024 15:14:33 -0400 Subject: [PATCH] modify the reusable workflow and the calling workflow to pass the environment variables correctly --- .github/workflows/build-deploy-cloudrun-function.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build-deploy-cloudrun-function.yml b/.github/workflows/build-deploy-cloudrun-function.yml index e2427f8..b69a739 100644 --- a/.github/workflows/build-deploy-cloudrun-function.yml +++ b/.github/workflows/build-deploy-cloudrun-function.yml @@ -60,14 +60,6 @@ jobs: contents: read id-token: write pull-requests: write - env: - GCP_PROJECT_ID: ${{ inputs.GCP_PROJECT_ID }} - GCP_PROJECT_NUMBER: ${{ inputs.GCP_PROJECT_NUMBER }} - WORKLOAD_IDENTITY_POOL: ${{ inputs.WORKLOAD_IDENTITY_POOL }} - WORKLOAD_IDENTITY_PROVIDER: ${{ inputs.WORKLOAD_IDENTITY_PROVIDER }} - GCP_SERVICE_ACCOUNT: ${{ inputs.GCP_SERVICE_ACCOUNT }} - GCP_SERVICE_ACCOUNT_EMAIL: ${{ inputs.GCP_SERVICE_ACCOUNT_EMAIL }} - GCP_REGION: ${{ inputs.GCP_REGION }} steps: - name: Checkout code uses: actions/checkout@v4