RAHB-REALTORS-Association / chat2gpt

Chat²GPT is a ChatGPT (and DALL·E 2/3, and ElevenLabs) chat bot for Google Chat. 🤖💬
https://chat2gpt.oncornerstone.app
MIT License
11 stars 1 forks source link

Update gcp-deploy.yml #123

Closed justinh-rahb closed 8 months ago

justinh-rahb commented 9 months ago

Summary

This PR updates the GitHub action used for deploying a Cloud Function to include the --image-url flag followed by the URL of the GCR container image in the gcloud functions deploy command, ensuring continued use of GCR as a non-default option after January 15, 2024.

Description

Google Cloud Functions recently announced a transition from using GCR to AR as the default storage for container images. Although this change will not take effect until at least January 15, 2024, it is recommended that users explicitly set the image registry setting back to GCR if they wish to continue using it as a non-default option.

In light of this announcement, this PR modifies the GitHub action used for deploying a Cloud Function by including the --image-url flag followed by the URL of the GCR container image in the gcloud functions deploy command. This ensures that the Cloud Function will continue to use the GCR container image even after the transition to AR takes place.

Related Issue(s)

None.

Motivation and Context

This change was necessary to ensure that the Cloud Function will continue to use the GCR container image even after the transition from GCR to AR takes place. This PR updates the GitHub action used for deploying a Cloud Function by including the --image-url flag followed by the URL of the GCR container image in the gcloud functions deploy command.

Types of changes