Skip to content

Bump k8s.io/api from 0.31.2 to 0.31.3 #264

Bump k8s.io/api from 0.31.2 to 0.31.3

Bump k8s.io/api from 0.31.2 to 0.31.3 #264

Workflow file for this run

name: pr
on:
pull_request:
branches:
- main
jobs:
e2e-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.7.0
- name: Install kind
run: |
kind_version=v0.11.1
curl -sSLo kind "https://github.com/kubernetes-sigs/kind/releases/download/$kind_version/kind-linux-amd64"
- name: Install kubectl
run: |
kubectl_version=v1.20.8
curl -sSLo kubectl "https://storage.googleapis.com/kubernetes-release/release/$kubectl_version/bin/linux/amd64/kubectl"
- name: Run e2e-tests
run: |
make e2e-test
docker-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build an image from Dockerfile
run: |
docker build -t ${{ github.repository }}:${{ github.sha }} .
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ github.repository }}:${{ github.sha }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'