INT - update deps (#54) #9
Workflow file for this run
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: Kong Agents Helm | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
helm-archive: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: olegtarasov/[email protected] | |
id: tagName | |
with: | |
tagRegex: "v(.*)" | |
tagRegexGroup: 1 | |
- name: Update chart versions | |
run: | | |
sed helm/kong-agents/Chart.yaml -i -e "s/^appVersion.*/appVersion:\ \"v${GIT_TAG_NAME}\"/" | |
sed helm/kong-agents/Chart.yaml -i -e "s/^version.*/version:\ ${GIT_TAG_NAME}/" | |
- name: Archive chart | |
run: | | |
tar czf kong-agents.tgz -C helm/kong-agents . | |
- name: Upload chart to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: kong-agents.tgz | |
tag: ${{ github.ref_name }} |