From bb192bc5decee2dc944debd1e5d78694c94be1f9 Mon Sep 17 00:00:00 2001 From: shaikrasheed99 Date: Tue, 10 Dec 2024 23:19:36 +0530 Subject: [PATCH] [Workflows] Add. Setup docker step in image vulnerability scanner pipeline --- .../service-image-vulnerability-scanner.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/service-image-vulnerability-scanner.yaml b/.github/workflows/service-image-vulnerability-scanner.yaml index f6bf9b3..875a75b 100644 --- a/.github/workflows/service-image-vulnerability-scanner.yaml +++ b/.github/workflows/service-image-vulnerability-scanner.yaml @@ -22,13 +22,11 @@ jobs: java-version: '17' cache: 'gradle' - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Ensure Docker is Running - run: | - sudo systemctl start docker - docker info + - name: Setup Docker + uses: docker/setup-docker@v2 + with: + experimental: true + buildx: true - name: Build Docker image run: cd ${{ inputs.path }} && ./gradlew clean build && ./gradlew bootBuildImage