Skip to content

Commit 3af6e93

Browse files
test ci
Signed-off-by: Aryan-sharma11 <aryan1126.sharma@gmail.com>
1 parent 5b51994 commit 3af6e93

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/ci-latest-release.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ name: ci-latest-release
22

33
on:
44
push:
5-
branches:
6-
- "main"
7-
- "v*"
5+
# branches:
6+
# - "main"
7+
# - "v*"
88
paths:
99
- "KubeArmor/**"
1010
- "protobuf/**"
1111
- ".github/workflows/ci-latest-release.yml"
1212
- "pkg/**"
1313
- "!STABLE-RELEASE"
14+
pull_request:
15+
branches: [main]
1416

1517
create:
1618
branches:
@@ -22,7 +24,7 @@ permissions: read-all
2224
jobs:
2325
check:
2426
name: Check what pkg were updated
25-
if: github.repository == 'kubearmor/kubearmor'
27+
if: github.repository == 'aryan1126/kubearmor'
2628
runs-on: ubuntu-20.04
2729
timeout-minutes: 5
2830
outputs:
@@ -43,7 +45,7 @@ jobs:
4345
build:
4446
name: Create KubeArmor latest release
4547
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')
4749
runs-on: ubuntu-latest-16-cores
4850
permissions:
4951
id-token: write
@@ -56,6 +58,11 @@ jobs:
5658
- uses: actions/setup-go@v5
5759
with:
5860
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
5966

6067
- name: Login to Docker Hub
6168
uses: docker/login-action@v2

KubeArmor/build/push_kubearmor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33
# Copyright 2021 Authors of KubeArmor
44

5-
[[ "$REPO" == "" ]] && REPO="kubearmor/kubearmor"
5+
[[ "$REPO" == "" ]] && REPO="aryan1126/kubearmor"
66

77
[[ "$PLATFORMS" == "" ]] && PLATFORMS="linux/amd64,linux/arm64/v8"
88

0 commit comments

Comments
 (0)