Skip to content

feat: helm allow disabling prometheus rules (#96) #10

feat: helm allow disabling prometheus rules (#96)

feat: helm allow disabling prometheus rules (#96) #10

name: helm-release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- charts/coralogix-operator/Chart.yaml
- charts/coralogix-operator/values.yaml
env:
CHART_VERSION: $(yq eval '.version' charts/coralogix-operator/Chart.yaml)
CHART_NAME: coralogix-operator
ARTIFACTORY_URL: https://cgx.jfrog.io/artifactory/
ARTIFACTORY_USERNAME: integrations-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: Setup Helm Repo
run: |
cd charts/coralogix-operator
helm package .
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2.1.0
with:
version: 2.12.1
- name: use-jfrog-cli
run: |
cd charts/coralogix-operator
jfrog rt upload --access-token ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }}