feat: add podLabels handling to the DaemonSets (#30) #17
This file contains hidden or 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: "[CI] Publish Charts" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| chart_commit: | |
| description: 'Git commit SHA to publish chart from (leave empty for current HEAD)' | |
| required: false | |
| default: '' | |
| permissions: | |
| contents: write | |
| jobs: | |
| publish-charts: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'aws/eks-node-monitoring-agent' | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: "Setup Helm" | |
| uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # 4.3.0 | |
| - name: "Publish Charts" | |
| run: hack/publish-charts.sh | |
| env: | |
| CHART_COMMIT: ${{ github.event.inputs.chart_commit }} |