refactor: changed inputs.name to inputs.repo-name for more conciseness

This commit is contained in:
2025-11-05 16:14:12 -05:00
parent 7c38dc2649
commit 94d0446fa1
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ inputs:
charts-repo-name:
description: Charts repo name
default: charts
name:
repo-name:
description: Repo name
required: true
ref-name:
@@ -49,7 +49,7 @@ runs:
CHARTS_REPO_ORG: ${{ inputs.charts-repo-org }}
CHARTS_REPO_NAME: ${{ inputs.charts-repo-name }}
run: |
export TARGET_NAME=${{ inputs.name }}
export REPO_NAME=${{ inputs.repo-name }}
export NEW_APP_VERSION=${{ inputs.docker-tag }}
echo "New app version: $NEW_APP_VERSION"
+4 -4
View File
@@ -25,7 +25,7 @@ sources:
name: Get current chart version
kind: yaml
spec:
file: '{{ requiredEnv "TARGET_NAME" }}/Chart.yaml'
file: '{{ requiredEnv "REPO_NAME" }}/Chart.yaml'
key: $.version
targets:
@@ -35,7 +35,7 @@ targets:
kind: yaml
sourceid: appVersion
spec:
file: '{{ requiredEnv "TARGET_NAME" }}/Chart.yaml'
file: '{{ requiredEnv "REPO_NAME" }}/Chart.yaml'
key: $.appVersion
updateChartVersion:
@@ -44,7 +44,7 @@ targets:
kind: yaml
sourceid: currentChartVersion
spec:
file: '{{ requiredEnv "TARGET_NAME" }}/Chart.yaml'
file: '{{ requiredEnv "REPO_NAME" }}/Chart.yaml'
key: $.version
transformers:
- semverinc: "minor"
@@ -59,7 +59,7 @@ actions:
repository: '{{ requiredEnv "CHARTS_REPO_NAME" }}'
username: '{{ requiredEnv "REGISTRY_USER" }}'
token: '{{ requiredEnv "REGISTRY_PASSWORD" }}'
title: 'chore({{ requiredEnv "TARGET_NAME" }}): bump chart version and set app version to {{ source "appVersion" }}'
title: 'chore({{ requiredEnv "REPO_NAME" }}): bump chart version and set app version to {{ source "appVersion" }}'
body: |
## Summary