You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Bitbucket流水线部署Nginx至Cloud Run时Google Cloud身份验证配置冻结问题求助

Bitbucket流水线部署Nginx至Cloud Run时Google Cloud身份验证配置冻结问题求助

各位大佬好,我现在碰到个头疼的问题:我在Bitbucket上配置了一条流水线,打算把Nginx服务部署到Cloud Run,结果在Google Cloud身份验证的步骤直接卡住不动了,流程完全冻结,实在找不到解决方向,来这儿求助大家!

我的流水线配置代码如下:

deploy-cloud-run:
  - step:
      name: Build and Deploy Application
      caches:
        - node
      services:
        - docker
      script:
        # Build the application
        - npm install
        - npm run build
        # Set a couple variables for readability
        - CLI_VERSION=466.0.0
        - CLI_FILENAME=google-cloud-cli-${CLI_VERSION}-linux-x86_64.tar.gz
        # Install Google Cloud CLI
        - curl -o /tmp/google-cloud-cli.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${CLI_FILENAME}
        - tar -xvf /tmp/google-cloud-cli.tar.gz -C /tmp/
        - /tmp/google-cloud-sdk/install.sh -q
        - source /tmp/google-cloud-sdk/path.bash.inc
        - gcloud -v
        # Authenticating with the service account key file
        - echo $BITBUCKET_SERVICE_ACCOUNT | base64 --d...

目前流水线执行到最后那行身份验证的命令就彻底停住了,没有任何报错信息,也没有后续的执行输出。我已经确认过BITBUCKET_SERVICE_ACCOUNT这个变量是正确配置了Google Cloud服务账号密钥的base64编码值的,理论上解码后应该能正常进行身份验证,但现在就是卡在这一步动不了,有没有大佬能帮我排查下可能的问题点?

备注:内容来源于stack exchange,提问作者Alexander Abraham

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 10:49:40