Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/despliega-cloud-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
# Workload Identity Federation: GitHub Actions actúa como proveedor OIDC.
# No se almacenan llaves JSON de service account en ningún secreto.
# El binding en iam.tf restringe el acceso al repositorio y entorno exactos.
uses: google-github-actions/auth@v2
uses: google-github-actions/auth@v3
with:
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}

- name: Configurar gcloud CLI
uses: google-github-actions/setup-gcloud@v2
uses: google-github-actions/setup-gcloud@v3

- name: Construir referencia de imagen
# Usa la imagen publicada en GHCR por envia-a-packages.yml con el mismo git tag.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/envia-a-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
- name: Autenticar en GCP via OIDC — solo prod
if: needs.resolve-env.outputs.target == 'prod'
id: gcp_auth
uses: google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
with:
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
Expand All @@ -229,7 +229,7 @@ jobs:

- name: Desplegar en Cloud Run — solo prod
if: needs.resolve-env.outputs.target == 'prod'
uses: google-github-actions/deploy-cloudrun@v2
uses: google-github-actions/deploy-cloudrun@v3
with:
service: ${{ vars.GCP_CLOUD_RUN_SERVICE }}
region: ${{ vars.GCP_REGION }}
Expand Down
Loading