chore(deps): bump github.com/aws/aws-sdk-go-v2/service/eks from 1.80.1 to 1.81.0 #3979
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scan | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ "main", "release-v*" ] | |
| push: | |
| branches: [ "main", "release-v*" ] | |
| tags: | |
| - "v*" | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| check-latest: true | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@v3.9.0 | |
| - name: Build operator | |
| run: make operator | |
| - name: Build image | |
| uses: docker/build-push-action@v6.13.0 | |
| with: | |
| context: . | |
| tags: ghcr.io/rancher/eks-operator:${{ github.sha }} | |
| load: true | |
| push: false | |
| file: package/Dockerfile | |
| build-args: | | |
| TAG=${{ github.sha }} | |
| REPO=ghcr.io/rancher/eks-operator | |
| COMMIT=${{ github.sha }} | |
| - name: Run Trivy vulnerability scanner | |
| uses: aquasecurity/trivy-action@0.34.1 | |
| env: | |
| TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db | |
| TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db | |
| with: | |
| image-ref: "ghcr.io/rancher/eks-operator:${{ github.sha }}" | |
| format: "table" | |
| exit-code: "1" | |
| ignore-unfixed: true | |
| severity: "CRITICAL,HIGH" |