File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -81,16 +81,11 @@ jobs:
81
81
uses : google-github-actions/auth@v0
82
82
with :
83
83
credentials_json : ${{ secrets.GCP_CREDENTIALS }}
84
- create_credentials_file : false
85
84
86
85
- name : Deploy to Cloud Run
87
- env :
88
- BUILD_TAG : gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_APP_NAME }}/${{ secrets.GCP_GCR_REPO }}:${{ needs.build-image.outputs.BUILD_TAG }}
89
- run : |
90
- gcloud run deploy ${{ secrets.GCP_APP_NAME }} \
91
- --image $BUILD_TAG \
92
- --memory 512M \
93
- --platform managed \
94
- --allow-unauthenticated \
95
- --region ${{ secrets.GCP_REGION }} \
96
- --update-secrets=JIRA_PASSWORD=JIRA_PASSWORD:latest,JIRA_USERNAME=JIRA_USERNAME:latest,BUGZILLA_API_KEY=BUGZILLA_API_KEY:latest # pragma: allowlist secret
86
+ uses : google-github-actions/deploy-cloudrun@v0
87
+ with :
88
+ service : ${{ secrets.GCP_APP_NAME }}
89
+ image : gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_APP_NAME }}/${{ secrets.GCP_GCR_REPO }}:${{ needs.build-image.outputs.BUILD_TAG }}
90
+ region : ${{ secrets.GCP_REGION }}
91
+ env_vars : JIRA_PASSWORD=JIRA_PASSWORD:latest,JIRA_USERNAME=JIRA_USERNAME:latest,BUGZILLA_API_KEY=BUGZILLA_API_KEY:latest # pragma: allowlist secret
You can’t perform that action at this time.
0 commit comments