Giter VIP home page Giter VIP logo

Comments (3)

rodt7 avatar rodt7 commented on July 4, 2024

image

from deploy-cloudrun.

verbanicm avatar verbanicm commented on July 4, 2024

@rodt7 I believe you need to use the expression syntax for those environment variables. For a list of contexts available you can see the docs here.

Here is a quick example for your use case:

- name: "Deploy to Cloud Run"
  # You may pin to the exact commit or the version.
  # uses: google-github-actions/deploy-cloudrun@ff8b38330cf81843db9cff366e335c34aa467c44
  uses: google-github-actions/deploy-cloudrun@main
  with:
    # Name of the container image to deploy (e.g. gcr.io/cloudrun/hello:latest).
    # Required if not using a service YAML.
    image: '${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/${{ env.IMAGE }}:${{ env.GITHUB_SHA }}'
    # ID of the service or fully qualified identifier for the service.
    # Required if not using a service YAML.
    service: automation-dummy-api
    # Region in which the resource can be found.
    region: '${{ env.GAR_LOCATION }}'

from deploy-cloudrun.

rodt7 avatar rodt7 commented on July 4, 2024

I see. Thank you!

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.