Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Combine image release with helm Combine image release with helm release so that one happens after the other. This will help reduce manual work.
Maidul Islam1766a44dd0de
diff --git a/.github/workflows/helm_chart_release.yml b/.github/workflows/helm-release-infisical-core.ymlsimilarity index 72%rename from .github/workflows/helm_chart_release.ymlrename to .github/workflows/helm-release-infisical-core.ymlindex 8f47da69d0..0588d5d0d0 100644--- a/.github/workflows/helm_chart_release.yml+++ b/.github/workflows/helm-release-infisical-core.yml@@ -1,4 +1,4 @@-name: Release Helm Charts+name: Release Infisical Core Helm charton: [workflow_dispatch]@@ -17,6 +17,6 @@ jobs:- name: Install Cloudsmith CLIrun: pip install --upgrade cloudsmith-cli- name: Build and push helm package to Cloudsmith- run: cd helm-charts && sh upload-to-cloudsmith.sh+ run: cd helm-charts && sh upload-infisical-core-helm-cloudsmith.shenv:CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}\ No newline at end of filediff --git a/.github/workflows/release_docker_k8_operator.yaml b/.github/workflows/release_docker_k8_operator.yamlindex 517549ea8c..162cc9dc0b 100644--- a/.github/workflows/release_docker_k8_operator.yaml+++ b/.github/workflows/release_docker_k8_operator.yaml@@ -1,4 +1,4 @@-name: Release Docker image for K8 operator+name: Release image + Helm chart K8s Operatoron:push:tags:@@ -35,3 +35,18 @@ jobs:tags: |infisical/kubernetes-operator:latestinfisical/kubernetes-operator:${{ steps.extract_version.outputs.version }}++ - name: Checkout+ uses: actions/checkout@v2+ - name: Install Helm+ uses: azure/setup-helm@v3+ with:+ version: v3.10.0+ - name: Install python+ uses: actions/setup-python@v4+ - name: Install Cloudsmith CLI+ run: pip install --upgrade cloudsmith-cli+ - name: Build and push helm package to Cloudsmith+ run: cd helm-charts && sh upload-k8s-operator-cloudsmith.sh+ env:+ CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}diff --git a/helm-charts/upload-infisical-core-helm-cloudsmith.sh b/helm-charts/upload-infisical-core-helm-cloudsmith.shnew file mode 100755index 0000000000..304850bee9--- /dev/null+++ b/helm-charts/upload-infisical-core-helm-cloudsmith.sh@@ -0,0 +1,8 @@+cd "infisical-standalone-postgres"+helm dependency update+helm package .+for i in *.tgz; do+ [ -f "$i" ] || break+ cloudsmith push helm --republish infisical/helm-charts "$i"+done+cd ..diff --git a/helm-charts/upload-k8s-operator-cloudsmith.sh b/helm-charts/upload-k8s-operator-cloudsmith.shnew file mode 100755index 0000000000..219978e642--- /dev/null+++ b/helm-charts/upload-k8s-operator-cloudsmith.sh@@ -0,0 +1,8 @@+cd secrets-operator+helm dependency update+helm package .+for i in *.tgz; do+ [ -f "$i" ] || break+ cloudsmith push helm --republish infisical/helm-charts "$i"+done+cd ..\ No newline at end of file