File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 66 - main
77 paths :
88 - ' charts/atlantis/**'
9+ workflow_dispatch :
10+ inputs :
11+ chart_version :
12+ description : ' Chart version to release (optional, will use Chart.yaml version if not provided)'
13+ required : false
14+ type : string
915
1016permissions : read-all
1117
5460 helm package charts/atlantis
5561 helm push atlantis-*.tgz oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts
5662
63+ - name : Get chart info
64+ id : chart-info
65+ run : |
66+ CHART_VERSION=$(yq e '.version' charts/atlantis/Chart.yaml)
67+ echo "version=${CHART_VERSION}" >> $GITHUB_OUTPUT
68+ echo "subject-name=ghcr.io/${{ github.repository_owner }}/charts/atlantis:${CHART_VERSION}" >> $GITHUB_OUTPUT
69+
5770 - name : Attest chart OCI artifact
5871 uses : actions/attest-build-provenance@v3
5972 with :
60- subject-name : ghcr.io/ ${{ github.repository_owner }}/charts/atlantis:$(yq e '.version' charts/atlantis/Chart.yaml)
73+ subject-name : ${{ steps.chart-info.outputs.subject-name }}
6174 push-to-registry : true
You can’t perform that action at this time.
0 commit comments