diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index dccbc35cc..10bf07ebe 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -26,18 +26,13 @@ jobs: distribution: 'corretto' cache: maven - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Compile the code run: ./mvnw -B package -D skipTests - name: Run the tests run: ./mvnw test - name: Package the project as a runnable Docker image - run: docker buildx build --platform linux/arm64,linux/amd64 -t my_repo/jfrog_assignment:${{ github.sha }} . + run: docker build -t my_repo/jfrog_assignment:${{ github.sha }} . - name: Scan the project with your preferred SCA tool uses: aquasecurity/trivy-action@master with: