Skip to content

Commit

Permalink
Update push-helm-chart.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAijaz authored Nov 19, 2024
1 parent 2cd4f23 commit 93e7aca
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/push-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ jobs:
echo "Helm Chart Version wasnt updated"
exit 1
# Publish helm chart
- name: Login to ghcr via helm
run: |
echo ${{secrets.GITHUB_TOKEN}} | helm registry login ghcr.io/stakater --username stakater-user --password-stdin
- name: Login to GHCR Registry
uses: docker/login-action@v2
with:
registry: ghcr.io/stakater
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Publish Helm chart to ghcr.io
run: |
Expand All @@ -84,7 +86,7 @@ jobs:
branch: master
repository: stakater-charts
target_dir: docs
token: ${{ secrets.STAKATER_GITHUB_TOKEN }}
token: ${{ secrets.PUBLISH_TOKEN }}
charts_dir: deployments/kubernetes/chart/
charts_url: ${{ env.HELM_REGISTRY_URL }}
owner: stakater
Expand Down

0 comments on commit 93e7aca

Please sign in to comment.