File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' Push Helm Chart'
2+ description : Create and push Helm Chart to Repository if helm folder exists
3+ env :
4+ GCR_IMAGE : oci://ghcr.io/${{ github.repository }}
5+ runs :
6+ using : " composite"
7+ steps :
8+ - name : Check file existence
9+ id : check_files
10+ uses : andstor/file-existence-action@v2
11+ with :
12+ files : " helm/values.yml"
13+ - id : lower-repo
14+ shell : pwsh
15+ run : |
16+ "::set-output name=repository::$($env:GCR_IMAGE.ToLowerInvariant())"
17+ - name : Push Helm chart
18+ if : steps.check_files.outputs.files_exists == 'true'
19+ uses : bsord/helm-push@v4.1.0
20+ with :
21+ useOCIRegistry : true
22+ registry-url : ${{ steps.lower-repo.outputs.repository }}
23+ access-token : ${{ secrets.GITHUB_TOKEN }}
24+ username : ${{ github.actor }}
25+ force : true
26+ chart-folder : helm
27+ add-repositories : true
Original file line number Diff line number Diff line change 8686 - name : Docker Build
8787 run : mvn package -Dmaven.test.skip.exec=true -P docker-image -Djib.to.image=${REGISTRY}/backbase/${GITHUB_REPOSITORY##*/}:${{ inputs.version }}
8888
89+ - name : Create & Push Helm Chart
90+ uses : backbase/workflows/.github/actions/push-helm-chart@v0.1.0
91+
8992 - name : Configure Maven
9093 uses : backbase/workflows/.github/actions/maven-bump@v0.1.0
9194
You can’t perform that action at this time.
0 commit comments