Skip to content

Commit 47b9b84

Browse files
committed
correcion de sintaxis en main terraform
1 parent 94519c0 commit 47b9b84

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploy-to-ecr.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ jobs:
5555
id: login-ecr
5656
uses: docker/login-action@v3
5757
with:
58-
ecr:
59-
true # Usa automáticamente las credenciales de AWS configuradas en el paso anterior
60-
# y se loguea en el registro ECR para la AWS_REGION especificada.
58+
ecr: true
6159

6260
- name: Build, tag, and push image to Amazon ECR
6361
id: build-image
@@ -66,6 +64,4 @@ jobs:
6664
context: . # El contexto de build es la raíz del repositorio
6765
file: ./Dockerfile # Ruta al Dockerfile
6866
push: true
69-
tags:
70-
${{ env.ECR_REPOSITORY_URL }}:latest # Usa la URL del repo ECR obtenida de Terraform
71-
# ej: 123456789012.dkr.ecr.us-east-1.amazonaws.com/poc-hello-world-app:latest
67+
tags: ${{ env.ECR_REPOSITORY_URL }}:latest # Usa la URL del repo ECR obtenida de Terraform

0 commit comments

Comments
 (0)