File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ' Push Helm Chart'
22description : Create and push Helm Chart to Repository if helm folder exists
3- env :
4- GCR_IMAGE : oci://ghcr.io/${{ github.repository }}
3+ inputs :
4+ repository :
5+ description : ' Github repository name'
6+ required : true
7+ token :
8+ description : ' Github Token to access repository'
9+ required : true
10+ username :
11+ description : ' Github Username to access repository'
12+ required : true
513runs :
614 using : " composite"
715 steps :
1018 uses : andstor/file-existence-action@v2
1119 with :
1220 files : " helm/values.yml"
21+ - name : set repo url
22+ shell : bash
23+ run : |
24+ echo "GCR_IMAGE=oci://ghcr.io/${{ inputs.repository }}" >> $GITHUB_ENV
1325 - id : lower-repo
1426 shell : pwsh
1527 run : |
2032 with :
2133 useOCIRegistry : true
2234 registry-url : ${{ steps.lower-repo.outputs.repository }}
23- access-token : ${{ secrets.GITHUB_TOKEN }}
24- username : ${{ github.actor }}
35+ access-token : ${{ inputs.token }}
36+ username : ${{ inputs.username }}
2537 force : true
2638 chart-folder : helm
2739 add-repositories : true
Original file line number Diff line number Diff line change 8888
8989 - name : Create & Push Helm Chart
9090 uses : backbase/workflows/.github/actions/push-helm-chart@main
91+ with :
92+ repository : ${{ github.repository }}
93+ username : ${{ github.actor }}
94+ token : ${{ secrets.github-token }}
9195
9296 - name : Configure Maven
9397 uses : backbase/workflows/.github/actions/maven-bump@v0.1.0
You can’t perform that action at this time.
0 commit comments