Skip to content

Commit

Permalink
ci: Remove image analysis from pull request builds
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Nov 29, 2023
1 parent ad9f27e commit bf0083a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,32 +102,12 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Docker / Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Docker / Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker / Create Image
run: gradle dockerBuild
- name: Gradle Tasks Summary
run: cat build/reports/build-times.md >> $GITHUB_STEP_SUMMARY
- name: Docker / List images
run: docker images
- name: Docker / Get image name
id: dockerImageName
run: echo "dockerImageName=$(gradle -q dockerImageName)" >> "$GITHUB_OUTPUT"
- name: Docker / Get image metadata
id: dockerImageMetadata
uses: docker/metadata-action@v5
with:
images: ${{ steps.dockerImageName.outputs.dockerImageName }}
- name: Docker / Analyse image
uses: docker/scout-action@v1
with:
command: quickview
image: ${{ steps.dockerImageName.outputs.dockerImageName }}
write-comment: false
summary: true

check-if-prod:
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit bf0083a

Please sign in to comment.