All checks were successful
CD / Release (push) Successful in 11s
Reviewed-on: #10 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
31 lines
844 B
YAML
31 lines
844 B
YAML
name: Release Helm chart
|
|
description: Release the Helm chart
|
|
|
|
inputs:
|
|
tag:
|
|
description: The tag to release
|
|
required: true
|
|
name:
|
|
description: The name of the Helm chart
|
|
required: true
|
|
registry-user:
|
|
description: The username for the registry
|
|
required: true
|
|
registry-password:
|
|
description: The password for the registry
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- shell: bash
|
|
run: |
|
|
helm package ${{ inputs.name }} --version ${{ inputs.tag }}
|
|
- shell: bash
|
|
run: |
|
|
curl --verbose --fail --show-error \
|
|
--user ${{ inputs.registry-user }}:${{ inputs.registry-password }} \
|
|
-X POST \
|
|
--upload-file ./${{ inputs.name }}-${{ inputs.tag }}.tgz \
|
|
https://gitea.t000-n.de/api/packages/${{ inputs.registry-user }}/helm/api/charts
|