Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for updating the image of a specific container in a Cloud Run service #558

Open
joelsdc opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@joelsdc
Copy link

joelsdc commented Jan 23, 2025

TL;DR

Nowadays you can setup multi-container deployments in Cloud Run.

This feature request is to add a new param (container?) to allow updating the image of any container in a deployment.

Say you have a Cloud Run service called TestService1, that has 3 containers: nginx, cms, metrics.

To update the image of the cms container I would like do something along:

      - name: Update Cloud Run service
        id: gcloud-cloudrun
        uses: google-github-actions/deploy-cloudrun@v2
        with:
          image: path/to/image:tag
          service: 'TestService1'
          container: 'cms'
          project_id: ${{ env.GCP_PROJECT }}
          region: ${{ env.GCP_REGION }}
          revision_traffic: 'LATEST=100'

The expectation would be that only the image for the specific container in the service would be updated.

Thanks!

Detailed design

No response

Additional information

No response

@joelsdc joelsdc added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant