feat: add authn-namespace flag to deployment #9
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: release-pullrequest | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract latest App Version | |
uses: tdemin/find-latest-tag@v1 | |
id: app_version | |
with: | |
repo: https://${{ secrets.HELM_CHARTS_BOT }}@github.com/krateoplatformops/backend.git | |
- name: Print latest App Version | |
run: echo ${{ steps.app_version.outputs.tag }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Replace Version in Chart.yaml | |
run: sed -i 's/CHART_VERSION/${{ steps.app_version.outputs.tag }}/g' ./chart/Chart.yaml | |
- name: Replace App Version in Chart.yaml | |
run: sed -i 's/APP_VERSION/${{ steps.app_version.outputs.tag }}/g' ./chart/Chart.yaml | |
- name: Set up Helm | |
uses: azure/[email protected] | |
- name: Helm lint | |
run: helm lint ./chart |