diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0bfe88b25..90370971c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,10 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1. + - name: Installing Karmor + run: curl -sfL https://raw.githubusercontent.com/kubearmor/kubearmor-client/main/install.sh | sudo sh -s -- -b . + working-directory: KubeArmor - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.gitignore b/.gitignore index 11305f3ac9..2f2462a817 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # KubeArmor kubearmor +karmor # Contribution .vscode diff --git a/KubeArmor/.goreleaser.yaml b/KubeArmor/.goreleaser.yaml index ff2e111021..9eee109955 100644 --- a/KubeArmor/.goreleaser.yaml +++ b/KubeArmor/.goreleaser.yaml @@ -37,6 +37,8 @@ nfpms: - src: /opt/kubearmor/kubearmor dst: /usr/local/bin/kubearmor type: symlink + - src: ./karmor + dst: /usr/local/bin/karmor - src: ./BPF/* dst: /opt/kubearmor/BPF/ - src: ./templates/*