Skip to content

Commit

Permalink
[Workflows] Add. Setup docker step in image vulnerability scanner pip…
Browse files Browse the repository at this point in the history
…eline
  • Loading branch information
shaikrasheed99 committed Dec 10, 2024
1 parent 9fde89d commit bb192bc
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/service-image-vulnerability-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb192bc

Please sign in to comment.