Merge pull request #1587 from daemon1024/fix-no-source-alerts #5
This file contains 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: ci-test-operator | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "pkg/**" | |
- "deployments/get/**" | |
- "KubeArmor/utils/**" | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
# test on dep or helm changes | |
- "pkg/**" | |
- "deployments/**" | |
- "KubeArmor/utils/**" | |
jobs: | |
kubearmor-operator-test: | |
name: Build KubeArmor Operator | |
defaults: | |
run: | |
working-directory: ./pkg/KubeArmorOperator | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: v1.20 | |
- uses: actions/checkout@v3 | |
- name: Build kubearmor operator | |
run: make docker-build TAG=latest |