From 2821e3786545e9992daf5f95370dfb440e5e37d1 Mon Sep 17 00:00:00 2001 From: riteshsonawane1372 Date: Tue, 15 Oct 2024 15:19:39 +0530 Subject: [PATCH] working action --- .github/workflows/build-push-ecr.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-push-ecr.yaml b/.github/workflows/build-push-ecr.yaml index 58df974b..0ef805f4 100644 --- a/.github/workflows/build-push-ecr.yaml +++ b/.github/workflows/build-push-ecr.yaml @@ -12,10 +12,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Build Web image - # if: github.event_name == 'pull_request' - run: | - env && cat ~/.aws/credentials - name: Checkout repository uses: actions/checkout@v3 @@ -23,7 +19,7 @@ jobs: uses: docker/setup-buildx-action@v3.0.0 - name: Setup AWS Creds - uses: aws-actions/configure-aws-credentials@v4.0.2 + uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }}