Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many requests #162

Open
3 tasks done
shyim opened this issue Nov 5, 2024 · 1 comment
Open
3 tasks done

Too many requests #162

shyim opened this issue Nov 5, 2024 · 1 comment

Comments

@shyim
Copy link

shyim commented Nov 5, 2024

Support guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

My pipelines regularly fail because of rate limited. I tried to add a token nothing works.

Expected behaviour

It just works

Actual behaviour

Rate limited

Steps to reproduce

I have no idea happens randomly

Repository URL

https://github.com/shopware/docker/

Workflow run URL

https://github.com/shopware/docker/actions/runs/11675826719/job/32511045194

YAML workflow

name: Security Check
on:
  workflow_dispatch:
  schedule:
    - cron: '0 1 * * *'

permissions:
  contents: read
  security-events: write

jobs:
  scan:
    name: 'Image Scan (PHP: ${{ matrix.php-version }})'
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        php-version:
          - '8.1'
          - '8.2'
          - '8.3'
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Pull image
        run: docker pull shopware/docker-base:${{ matrix.php-version }}

      - name: Login into Github Docker Registery
        run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

      - name: Scan for vulnerabilities
        id: scan
        uses: crazy-max/ghaction-container-scan@v3
        with:
          image: shopware/docker-base:${{ matrix.php-version }}
          dockerfile: ./${{ matrix.php-version }}/Dockerfile

      - name: Upload SARIF file
        if: ${{ steps.scan.outputs.sarif != '' }}
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: ${{ steps.scan.outputs.sarif }}


### Workflow logs

_No response_

### Additional info

_No response_
@crazy-max
Copy link
Owner

This looks related to aquasecurity/trivy#7538

I will take a look if we can use multiple trivy DBs for fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants