Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Kyriakos Akriotis <[email protected]>
  • Loading branch information
akyriako authored Apr 2, 2024
1 parent 6777b25 commit 3af015b
Showing 1 changed file with 23 additions and 26 deletions.
49 changes: 23 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
- name: Helm Chart Releaser
# You may pin to the exact commit or the version.
# uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584
uses: helm/[email protected]
with:
# The chart-releaser version to use (default: v1.6.1)
version: # optional, default is v1.6.1
# The relative path to the chart-releaser config file
config: # optional
# The charts directory
charts_dir: deploy/cert-manager-webhook-opentelekomcloud
# Where to install the cr tool
install_dir: # optional
# Just install cr tool
install_only: # optional
# Skip the packaging option (do your custom packaging before running this action)
skip_packaging: # optional
# Skip package upload if release exists
skip_existing: # optional
# Mark the created GitHub release as 'latest'
mark_as_latest: # optional, default is true
# Upload chart packages directly into publishing branch
packages_with_index: # optional
# Name of the branch to be used to push the index and artifacts. (default to: gh-pages but it is not set in the action it is a default value for the chart-releaser binary)
pages_branch: # optional

name: Release Charts
on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 3af015b

Please sign in to comment.