File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments