diff --git a/.github/workflows/build_and_deploy_stg.yml b/.github/workflows/build_and_deploy_stg.yml index d587ea3..b2f81ee 100644 --- a/.github/workflows/build_and_deploy_stg.yml +++ b/.github/workflows/build_and_deploy_stg.yml @@ -14,8 +14,8 @@ jobs: secrets: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID: ${{ secrets.DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID }} - DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY: ${{ secrets.DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY }} + DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID: ${{ secrets.EXPORTED_PAGARME_DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID }} + DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY: ${{ secrets.EXPORTED_PAGARME_DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY }} deploy-stg: needs: build-stg diff --git a/.github/workflows/lint_tests_and_sonar.yml b/.github/workflows/lint_tests_and_sonar.yml index 5781086..26cf4a4 100644 --- a/.github/workflows/lint_tests_and_sonar.yml +++ b/.github/workflows/lint_tests_and_sonar.yml @@ -46,8 +46,8 @@ jobs: uses: aws-actions/configure-aws-credentials@v3 id: configure-ecr with: - aws-access-key-id: ${{ secrets.DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY }} + aws-access-key-id: ${{ secrets.EXPORTED_PAGARME_DOCKER_IMAGES_AWS_PULL_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.EXPORTED_PAGARME_DOCKER_IMAGES_AWS_PULL_SECRET_ACCESS_KEY }} aws-region: us-east-1 mask-aws-account-id: "no" @@ -90,4 +90,4 @@ jobs: uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN: ${{ secrets.EXPORTED_PAGARME_SONAR_TOKEN }} diff --git a/.github/workflows/superbowleto_deploy.yml b/.github/workflows/superbowleto_deploy.yml index c0b0700..e1cbb0a 100644 --- a/.github/workflows/superbowleto_deploy.yml +++ b/.github/workflows/superbowleto_deploy.yml @@ -54,7 +54,7 @@ jobs: environment-variables: "DD_VERSION=${{ inputs.TAG }}" - name: Deploy to Amazon ECS service - uses: aws-actions/amazon-ecs-deploy-task-definition@v1 + uses: aws-actions/amazon-ecs-deploy-task-definition@v2 with: task-definition: ${{ steps.render-task-def.outputs.task-definition }} service: ${{ inputs.APP_NAME }}