Giter VIP home page Giter VIP logo

Comments (2)

sethvargo avatar sethvargo commented on August 26, 2024

Does gcr.io/handleit-349522/handle-it-server:latest exist and does the service account have IAM permissions to access it? I don't see any containers: https://console.cloud.google.com/gcr/images/handleit-349522/GLOBAL/handle-it-server?pli=1

from deploy-cloudrun.

baconcheese113 avatar baconcheese113 commented on August 26, 2024

Thanks for the response, the service account has the correct permissions but the remote image doesn't exist. I was under the assumption that the deploy-cloudrun action also built it from my source and published it to the address given with the latest tag. Not sure how my workflow was deploying correctly

I changed the action to use the source option and added artifact registry permissions and now it's working again like before

      - name: "Authenticate to Google Cloud"
        uses: "google-github-actions/[email protected]"
        with:
          workload_identity_provider: "projects/847955048569/locations/global/workloadIdentityPools/my-pool/providers/my-provider"
          service_account: "[email protected]"

      - id: "deploy"
        uses: "google-github-actions/[email protected]"
        with:
          service: "handle-it-server"
          source: ./

The images are now published to
us-central1-docker.pkg.dev/handleit-349522/cloud-run-source-deploy/handle-it-server@sha256:ffa92f54aa1b0ffc0bb1c8495134c56b0b052685543f4e1c5c2833a244914ff8
instead of
gcr.io/handleit-349522/handle-it-server@sha256:7bf184533a0a1ce12d0220d60a3083aa5afef2e5ab73dd30dd99b4ca170d7036
I'm a little confused, but I'll close the issue

from deploy-cloudrun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.