Skip to content

Commit 46aadb2

Browse files
Use mittwald bump-version action to publish to our chart museum (#46)
* use mittwald-chart-bump action * remove old script
1 parent 2172a1f commit 46aadb2

File tree

2 files changed

+8
-68
lines changed

2 files changed

+8
-68
lines changed

.github/workflows/workflow.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,11 @@ jobs:
131131
- name: Push images
132132
run: docker push "$IMAGE_NAME:latest" && docker push "$IMAGE_NAME:${GITHUB_REF##*/}"
133133

134-
- name: Bump Chart Version
135-
run: bash ./scripts/bump-app-version.sh publish "${GITHUB_REF##*/}" "${{ secrets.githubToken }}"
134+
- name: Run chart version bump
135+
uses: mittwald/bump-app-version-action@v1
136+
with:
137+
mode: 'publish'
138+
chartYaml: './deploy/helm-chart/kubernetes-secret-generator/Chart.yaml'
139+
env:
140+
GITHUB_TOKEN: "${{ secrets.RELEASE_USER_TOKEN }}"
141+
HELM_REPO_PASSWORD: "${{ secrets.HELM_REPO_PASSWORD }}"

scripts/bump-app-version.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)