From 44efd00f380474b6fab3a19d5c4e90b5fbbc8c7c Mon Sep 17 00:00:00 2001 From: Victor Toupitzen Specian Date: Mon, 4 Mar 2024 08:24:18 -0300 Subject: [PATCH] Update pipeline.yml --- .github/workflows/pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 47b066f..15ceba4 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -8,7 +8,8 @@ jobs: aws-auth: runs-on: ubuntu-latest - + outputs: + ecr_registry: ${{ steps.login-ecr.outputs.registry }} steps: - name: Configure AWS credentials @@ -33,7 +34,7 @@ jobs: - name: Build, tag, and push image to Amazon ECR env: - ECR_REGISTRY: ${{ needs.aws-auth.login-ecr.outputs.registry }} + ECR_REGISTRY: ${{ needs.aws-auth.outputs.ecr_registry }} ECR_REPOSITORY: fiap-tech-challenge-api IMAGE_TAG: latest run: |