deploy-cloudrun icon indicating copy to clipboard operation
deploy-cloudrun copied to clipboard

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

Open joelsdc opened this issue 1 year ago • 9 comments

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 avatar Jan 23 '25 18:01 joelsdc

Up

melldson avatar Sep 01 '25 16:09 melldson

Up

ErichMorais avatar Sep 12 '25 14:09 ErichMorais

Up

denisonlinus avatar Sep 12 '25 14:09 denisonlinus

up

joaowitt avatar Sep 12 '25 14:09 joaowitt

Up

fscariott avatar Sep 12 '25 14:09 fscariott

Up

rgsonego avatar Sep 12 '25 14:09 rgsonego

Up

GUIMS357 avatar Sep 12 '25 14:09 GUIMS357

Up

AtillioFetter avatar Sep 12 '25 16:09 AtillioFetter

up

matheusnatanb avatar Sep 12 '25 17:09 matheusnatanb