diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5731496..73f1067 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,6 +37,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4 - name: Login to DockerHub + if: ${{ github.event_name != 'pull_request' }} uses: docker/login-action@v4.6.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -69,16 +70,3 @@ jobs: uses: github/codeql-action/upload-sarif@v4.37.4 with: sarif_file: sarif.output.json - - - name: Compare to deployed image - id: docker-scout-compare - if: ${{ github.event_name == 'pull_request' }} - uses: docker/scout-action@v1.24.0 - with: - command: compare - organization: beevelop - image: ${{ steps.docker_meta.outputs.tags }} - only-severities: critical,high - platform: "linux/amd64" - exit-on: vulnerability,policy - summary: true \ No newline at end of file