File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,17 @@ name: ci-latest-release
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - " main"
7
- - " v*"
5
+ # branches:
6
+ # - "main"
7
+ # - "v*"
8
8
paths :
9
9
- " KubeArmor/**"
10
10
- " protobuf/**"
11
11
- " .github/workflows/ci-latest-release.yml"
12
12
- " pkg/**"
13
13
- " !STABLE-RELEASE"
14
+ pull_request :
15
+ branches : [main]
14
16
15
17
create :
16
18
branches :
@@ -22,7 +24,7 @@ permissions: read-all
22
24
jobs :
23
25
check :
24
26
name : Check what pkg were updated
25
- if : github.repository == 'kubearmor /kubearmor'
27
+ if : github.repository == 'aryan1126 /kubearmor'
26
28
runs-on : ubuntu-20.04
27
29
timeout-minutes : 5
28
30
outputs :
43
45
build :
44
46
name : Create KubeArmor latest release
45
47
needs : check
46
- if : github.repository == 'kubearmor /kubearmor' && (needs.check.outputs.kubearmor == 'true' || ${{ github.ref }} != 'refs/heads/main')
48
+ if : github.repository == 'aryan1126 /kubearmor' && (needs.check.outputs.kubearmor == 'true' || ${{ github.ref }} != 'refs/heads/main')
47
49
runs-on : ubuntu-latest-16-cores
48
50
permissions :
49
51
id-token : write
56
58
- uses : actions/setup-go@v5
57
59
with :
58
60
go-version-file : ' KubeArmor/go.mod'
61
+ - name : Install the latest LLVM toolchain
62
+ run : ./.github/workflows/install-llvm.sh
63
+
64
+ - name : Compile libbpf
65
+ run : ./.github/workflows/install-libbpf.sh
59
66
60
67
- name : Login to Docker Hub
61
68
uses : docker/login-action@v2
Original file line number Diff line number Diff line change 2
2
# SPDX-License-Identifier: Apache-2.0
3
3
# Copyright 2021 Authors of KubeArmor
4
4
5
- [[ " $REPO " == " " ]] && REPO=" kubearmor /kubearmor"
5
+ [[ " $REPO " == " " ]] && REPO=" aryan1126 /kubearmor"
6
6
7
7
[[ " $PLATFORMS " == " " ]] && PLATFORMS=" linux/amd64,linux/arm64/v8"
8
8
You can’t perform that action at this time.
0 commit comments