Skip to content

Commit

Permalink
Merge pull request #800 from stakater/fix-helm-tokens
Browse files Browse the repository at this point in the history
Fix for helm chart push tokens
  • Loading branch information
MuneebAijaz authored Nov 20, 2024
2 parents ca09e24 + a39100a commit eb42fce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/push-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- master
paths:
- 'deployments/kubernetes/chart/reloader/**'
- '.github/workflows/push-helm-chart.yaml'

env:
HELM_REGISTRY_URL: "https://stakater.github.io/stakater-charts"
Expand Down Expand Up @@ -70,9 +71,9 @@ jobs:
- name: Login to GHCR Registry
uses: docker/login-action@v2
with:
registry: ghcr.io/stakater
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
registry: ${{ env.REGISTRY }}
username: stakater-user
password: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit eb42fce

Please sign in to comment.