Skip to content

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

@joelsdc

Description

@joelsdc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions