Skip to content

Commit

Permalink
Merge pull request #1826 from daemon1024/fix-helm
Browse files Browse the repository at this point in the history
fix(helm): create release in charts repo  stable release updates
  • Loading branch information
daemon1024 authored Aug 5, 2024
2 parents 47fac89 + c2b4de6 commit f10062e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 48 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/ci-latest-helm-chart-release.yaml

This file was deleted.

13 changes: 11 additions & 2 deletions .github/workflows/ci-stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
push-stable-version:
name: Create KubeArmor stable release
if: github.repository == 'kubearmor/kubearmor'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -43,10 +43,19 @@ jobs:
regctl image copy kubearmor/kubearmor-operator:$STABLE_VERSION kubearmor/kubearmor-operator:stable --digest-tags
regctl image copy kubearmor/kubearmor-snitch:$STABLE_VERSION kubearmor/kubearmor-snitch:stable --digest-tags
- name: Publish Helm chart
env:
# Access token which can push to a different repo in the same org
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
STABLE_VERSION=`cat STABLE-RELEASE`
gh release create --repo kubearmor/charts $STABLE_VERSION --generate-notes
update-helm-chart:
name: Update KubeArmor Helm chart version
if: github.repository == 'kubearmor/kubearmor'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 20
permissions:
contents: write
Expand Down

0 comments on commit f10062e

Please sign in to comment.