Merge pull request #11 from shopware/auto-release-0.0.2 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Publish charts to repo" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
pages: write | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
- name: add repos for shopware helm chart | |
run: | | |
helm repo add percona https://percona.github.io/percona-helm-charts | |
helm repo add grafana https://grafana.github.io/helm-charts | |
helm repo add prometheus https://prometheus-community.github.io/helm-charts | |
# TODO: Not yet possible, we need to publish this first | |
#helm repo add shopware https://shopware-redstone.github.io/helm-charts | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.6.0 | |
with: | |
skip_existing: true | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |