- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/[email protected]
with:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
image: gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}
我已经检查了我的服务帐户的所有权限 但我还是得到了这个
Successfully authenticated
Running: gcloud run deploy backend --quiet --image gcr.io/senior-project/backend --update-labels managed-by=github-actions,commit-sha=*** --platform managed --format json --region asia-southeast1
Error: google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy backend --quiet --image gcr.io/senior-project/backend --update-labels managed-by=github-actions,commit-sha=*** --platform managed --format json --region asia-southeast1`: Deploying container to Cloud Run service [backend] in project [senior-project] region [asia-southeast1]
我该如何解决此问题或获取有关错误的更多详细信息。
您可以在
获取更多信息https://console.cloud.google.com/ > 云构建 > 选择您的区域,然后查看构建日志