Skip to content

chore(deps): update github actions #1007

chore(deps): update github actions

chore(deps): update github actions #1007

Workflow file for this run

name: Security Audit
on:
push:
branches: [master, main, release-*]
tags: ['*']
pull_request:
branches: ['**']
env:
golang-version: 1.18.4
helm-version: v3.13.2
kubescape-version: v2.9.2
jobs:
security-audit:
runs-on: ubuntu-latest
name: Analyse kubernetes manifests
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.golang-version }}
- name: Set up Helm
uses: azure/[email protected]
with:
version: ${{ env.helm-version }}
- name: Download chart dependencies
run: |
helm dep up chart/
- name: Download kubescape
run: |
wget https://raw.githubusercontent.com/armosec/kubescape/master/install.sh
chmod +x install.sh
/bin/bash install.sh -v ${{ env.kubescape-version }}
#- name: Download kubescape
# run: curl -s https://raw.githubusercontent.com/armosec/kubescape/master/install.sh | /bin/bash
- run: make --always-make kubescape