Bump version and update appVersion in Chart.yaml (#237) #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: helm-release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- charts/coralogix-operator/Chart.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/[email protected] | |
- name: Setup Helm Repo | |
run: | | |
cd charts/coralogix-operator | |
helm package . | |
- name: Setup JFrog CLI | |
uses: jfrog/[email protected] | |
with: | |
version: 2.12.1 | |
- name: use-jfrog-cli | |
run: | | |
cd charts/coralogix-operator | |
jfrog rt upload --user "${{ secrets.JFROG_USER }}" --password "${{ secrets.JFROG_PASSWORD }}" "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }} |