Skip to content

Commit

Permalink
Merge pull request #3 from treydock/fix-helm-release
Browse files Browse the repository at this point in the history
Use Helm release action that works with tags
  • Loading branch information
clementnuss authored Dec 1, 2021
2 parents cbf2328 + b0998ba commit 9de5815
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths --platform=linux/amd64,linux/arm64,linux/arm --tags $TAG
publish-helm-charts:
if: "!startsWith(github.ref, 'refs/tags/v') && !github.event.pull_request.head.repo.fork"
if: "startsWith(github.ref, 'refs/tags/v') && !github.event.pull_request.head.repo.fork"
needs:
- lint
- test-helm
Expand All @@ -146,9 +146,9 @@ jobs:
version: v3.5.0

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
uses: stefanprodan/helm-gh-pages@v1.4.1
with:
token: "${{ secrets.GITHUB_TOKEN }}"

publish-untagged:
if: "!startsWith(github.ref, 'refs/tags/v') && !github.event.pull_request.head.repo.fork"
Expand Down

0 comments on commit 9de5815

Please sign in to comment.