Skip to content

Commit ccd62ef

Browse files
committed
feat(charts): deploy all
1 parent ec79182 commit ccd62ef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,47 +27,47 @@ jobs:
2727
charts: ${{ steps.charts.outputs.charts }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131

3232
- if: ${{ github.event_name != 'workflow_dispatch' }}
3333
name: Get Changed Files
3434
id: changed-files
35-
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46
35+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
3636
with:
3737
files: charts/**/metadata.yaml
3838

3939
- name: Extract Chart values
4040
id: charts
4141
run: |
4242
if [[ "${{ github.event_name }}" != "workflow_dispatch" ]]; then
43-
charts="${{ steps.changed-files.outputs.all_changed_and_modified_files }}"
43+
charts="${{ steps.changed-files.outputs.all_changed_and_modified_files }}"
4444
else
45-
charts="charts/${{ inputs.chart }}/metadata.yaml"
45+
charts="charts/${{ github.event.inputs.chart }}/metadata.yaml"
4646
fi
4747
charts=$(yq eval-all --indent=0 --output-format=json "[.]" $charts)
4848
echo "charts=${charts}" >> $GITHUB_OUTPUT
4949
5050
push-charts:
51+
if: ${{ needs.changed-files.outputs.charts != '[]' }}
5152
needs: changed-files
5253
name: Push Charts
5354
runs-on: ubuntu-latest
54-
if: ${{ needs.changed-files.outputs.charts != '[]' }}
5555
strategy:
5656
matrix:
5757
charts: ${{ fromJSON(needs.changed-files.outputs.charts) }}
5858
max-parallel: 4
5959
fail-fast: false
6060
steps:
6161
- name: Install Helm
62-
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4
62+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
6363

6464
- if: ${{ github.event_name != 'pull_request' }}
6565
name: Install Cosign
66-
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3
66+
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
6767

6868
- if: ${{ github.event_name != 'pull_request' }}
6969
name: Login to GitHub Container Registry
70-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
70+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
7171
with:
7272
registry: ghcr.io
7373
username: ${{ github.actor }}

0 commit comments

Comments
 (0)