From 7fac5c3fc12c52d56f9837310d992ef52fc3013b Mon Sep 17 00:00:00 2001 From: Sameer Kumar Subudhi Date: Mon, 20 Jan 2025 15:49:45 +0100 Subject: [PATCH] update docker.yaml --- .github/workflows/docker.yaml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index c792128e..6cb2f3b7 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -3,7 +3,6 @@ name: Build docker image on: push: branches: - # - master - test-ci-cd env: @@ -32,7 +31,7 @@ jobs: java-version: 21 - name: Setup gradle - uses: gradle/actions/setup-gradle@v4 + uses: gradle/gradle-build-action@v2 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@0e613a0980cbf65ed5b322eb7a1e075d28913a83 @@ -45,23 +44,5 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@62f4f872db3836360b72999f4b87f1ff13310f3a - - name: Clean local Gradle repository - run: make clean - - name: Build docker image run: make jib - - # - name: Docker image - # id: docker-image - # run: | - # echo "image=${{ steps.login-ecr.outputs.registry }}/${{ secrets.ECR_REPOSITORY }}" >> $GITHUB_OUTPUT - - # - name: Build and push the image - # uses: docker/build-push-action@v6 - # id: docker-build - # with: - # context: . - # push: true - # tags: | - # ${{ steps.docker-image.outputs.image }}:latest - # ${{ steps.docker-image.outputs.image }}:${{ github.sha }}