File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 52
52
with :
53
53
version : v3.12.0
54
54
55
+ - name : Set up Cosign
56
+ uses : sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
57
+
55
58
- name : Set chart name
56
59
id : chart-name
57
60
run : echo "value=vault" >> "$GITHUB_OUTPUT"
87
90
helm package ${{ steps.chart-name.outputs.value }} --version ${{ steps.version.outputs.value }}
88
91
echo "package=${{ steps.chart-name.outputs.value }}-${{ steps.version.outputs.value }}.tgz" >> "$GITHUB_OUTPUT"
89
92
93
+ - name : Sign chart with GitHub OIDC Token
94
+ if : ${{ inputs.publish && github.repository_owner == 'bank-vaults' }} # Check if the workflow is called by the same GitHub organization
95
+ env :
96
+ PACKAGE : ${{ steps.build.outputs.package }}
97
+ run : |
98
+ cosign sign-blob --yes $PACKAGE
99
+
90
100
- name : Upload chart as artifact
91
101
uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
92
102
with :
You can’t perform that action at this time.
0 commit comments