chart-releaser-action icon indicating copy to clipboard operation
chart-releaser-action copied to clipboard

Is there any way to provide package-path `-p` from chart-releaser?

Open onkarganjewar opened this issue 4 years ago • 2 comments

I'm following the examples shown in helm/chart-releaser and tried to upload a helm chart package path using

  1. Env var: CR_PACKAGE_PATH
  2. Manually creating the directory .cr-release-packages/

But, my workflow job still exits with the message: Nothing to do. No chart changes detected.

Here's my workflow:

name: Release Charts

on:
  push:
    branches:
      - master

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Configure Git
        run: |
          git config user.name "$GITHUB_ACTOR"
          git config user.email "[email protected]"
      - name: Run chart-releaser
        uses: helm/chart-releaser-action@master
        env:
          CR_TOKEN: '${{ secrets.CR_TOKEN }}'
          # CR_PACKAGE_PATH: 'pkgs'

Is this behavior currently supported in this action? Because I'm able to use chart-releaser successfully to upload my packages from a custom path. I'm using the GitHub enterprise account, not sure if that makes any difference. Any help or suggestions much appreciated! Thanks!

onkarganjewar avatar May 23 '20 00:05 onkarganjewar

This is not supported. Any reason why you need this?

unguiculus avatar Jun 27 '20 17:06 unguiculus

We have an umbrella chart with multiple sub-charts in it, and this action isn't able to release that chart. Although it works fine when I use chart-releaser CLI cr upload --owner myaccount --git-repo helm-charts --package-path .deploy --token 123456789 That's why I was wondering if there was a way to provide this parameter to this action. It would make my life much easier. Unless there's some other way of achieving this that I don't know of? Let me know. Thanks! PS - I would be happy to make a PR if that's something you'd consider adding.

onkarganjewar avatar Oct 13 '20 20:10 onkarganjewar