Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/actions/push-helm-chart/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: 'Push Helm Chart'
description: Create and push Helm Chart to Repository if helm folder exists
env:
GCR_IMAGE: oci://ghcr.io/${{ github.repository }}
inputs:
repository:
description: 'Github repository name'
required: true
token:
description: 'Github Token to access repository'
required: true
username:
description: 'Github Username to access repository'
required: true
runs:
using: "composite"
steps:
Expand All @@ -10,6 +18,10 @@ runs:
uses: andstor/file-existence-action@v2
with:
files: "helm/values.yml"
- name: set repo url
shell: bash
run: |
echo "GCR_IMAGE=oci://ghcr.io/${{ inputs.repository }}" >> $GITHUB_ENV
- id: lower-repo
shell: pwsh
run: |
Expand All @@ -20,8 +32,8 @@ runs:
with:
useOCIRegistry: true
registry-url: ${{ steps.lower-repo.outputs.repository }}
access-token: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.actor }}
access-token: ${{ inputs.token }}
username: ${{ inputs.username }}
force: true
chart-folder: helm
add-repositories: true
4 changes: 4 additions & 0 deletions .github/workflows/maven-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:

- name: Create & Push Helm Chart
uses: backbase/workflows/.github/actions/push-helm-chart@main
with:
repository: ${{ github.repository }}
username: ${{ github.actor }}
token: ${{ secrets.github-token }}

- name: Configure Maven
uses: backbase/workflows/.github/actions/maven-bump@v0.1.0
Expand Down