Skip to content

Commit

Permalink
update GA
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhan-yilmaz committed Oct 15, 2024
1 parent 34087c0 commit a923a69
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/helm-package-and-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
name: Helm package and push to Github Pages
on:
# publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed)
# release:
# types: [ published ]

push:
tags:
- "v*.*.*"

# branches:
# - 'main'
# paths:
# - 'helm-chart/**'
# - '.github/workflows/helm-package-and-publish.yaml'

# TODO:
# - package helm
# - upload release artifact
# - get its url
# - update/merge gh-pages/index.yaml


jobs:
helm-package-and-push-to-ghcr-io:
runs-on: ubuntu-latest
Expand All @@ -29,15 +12,13 @@ jobs:
packages: write

steps:


- name: Checkout repository
uses: actions/checkout@v4

- name: Install Helm
uses: azure/[email protected]

- name: Helm Package and Push to ghcr.io
- name: Helm Package
id: helm_package
run: |
echo "Tag version: $GITHUB_REF"
Expand All @@ -60,7 +41,7 @@ jobs:
env:
MESSAGE: ${{ steps.helm_package.outputs.package-name}}

- name: Release
- name: Create new Release and upload helm artifact
id: create_release_and_upload_artifacts
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -96,7 +77,6 @@ jobs:
run: |
echo 'package-name=${{ steps.helm_package_download_url.outputs.download_url}}'
- name: Clone gh-pages branch and update helm index.yaml on github pages
env:
GITHUB_TOKEN: ${{ secrets.GHCR_TOKEN }}
Expand Down

0 comments on commit a923a69

Please sign in to comment.