File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 19
19
packages : write # needed for ghcr access
20
20
steps :
21
21
- uses : actions/checkout@v3
22
+ - uses : azure/setup-helm@main
23
+ - uses : fluxcd/flux2/action@main
22
24
- uses : sigstore/cosign-installer@main
23
25
- name : Prepare
24
26
id : prep
70
72
token : ${{ secrets.GITHUB_TOKEN }}
71
73
charts_url : https://flagger.app
72
74
linting : off
75
+ - name : Publish signed Helm chart to GHCR
76
+ env :
77
+ COSIGN_EXPERIMENTAL : 1
78
+ run : |
79
+ helm package charts/flagger
80
+ helm push flagger-${{ steps.prep.outputs.VERSION }}.tgz oci://ghcr.io/fluxcd/charts
81
+ cosign sign ghcr.io/fluxcd/charts/flagger:${{ steps.prep.outputs.VERSION }}
82
+ rm flagger-${{ steps.prep.outputs.VERSION }}.tgz
83
+ - name : Publish signed manifests to GHCR
84
+ env :
85
+ COSIGN_EXPERIMENTAL : 1
86
+ run : |
87
+ flux push artifact oci://ghcr.io/fluxcd/flagger-manifests:${{ steps.prep.outputs.VERSION }} \
88
+ --path="./kustomize" \
89
+ --source="$(git config --get remote.origin.url)" \
90
+ --revision="${{ steps.prep.outputs.VERSION }}/$(git rev-parse HEAD)"
91
+ cosign sign ghcr.io/fluxcd/flagger-manifests:${{ steps.prep.outputs.VERSION }}
73
92
- uses : anchore/sbom-action/download-syft@v0
74
93
- name : Create release and SBOM
75
94
uses : goreleaser/goreleaser-action@v2
You can’t perform that action at this time.
0 commit comments