From 86677111a0bdced1af170224f28c10b829c39aaa Mon Sep 17 00:00:00 2001 From: Bruno Gabriel Date: Thu, 19 Dec 2024 10:16:39 -0300 Subject: [PATCH] chore: adjusts docker image configuration --- .github/workflows/lint_tests_and_sonar.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint_tests_and_sonar.yml b/.github/workflows/lint_tests_and_sonar.yml index b25ba8b..f41cc05 100644 --- a/.github/workflows/lint_tests_and_sonar.yml +++ b/.github/workflows/lint_tests_and_sonar.yml @@ -37,11 +37,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + - name: login-ecr + uses: pagarme/github-actions-workflows/.github/workflows/login-ecr.yml@main + secrets: + AWS_PULL_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_PULL_ECR_ACCESS_KEY_ID }} + AWS_PULL_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_PULL_ECR_SECRET_ACCESS_KEY }} - name: Run tests run: make test-ci