Skip to content

Commit ae52154

Browse files
authored
Merge pull request #42 from agoric-labs/mfig-inputs-repo
fix: implement `${{ inputs.repo }}` with `--repoUrl`
2 parents cd3c4f0 + 51ef078 commit ae52154

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

action.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ inputs:
2424
description: "Helm repo to fetch the chart from (default: https://hyperweb-io.github.io/starship)"
2525
required: false
2626
default: "https://hyperweb-io.github.io/starship"
27+
name:
28+
description: "Helm chart release name for installing helm chart"
29+
required: false
30+
default: "starship"
2731
namespace:
2832
description: "Kubernetes namespace to deploy helm charts on (default: ci-{github.repository}-{github.workflow}-{github.ref} )"
2933
required: false
@@ -130,6 +134,7 @@ runs:
130134
starship setup \
131135
--config ${{ inputs.config }} \
132136
--namespace ${{ steps.set-namespace.outputs.namespace }} \
137+
--repoUrl ${{ inputs.repo }} \
133138
--chart ${{ inputs.chart }}
134139
shell: bash
135140

@@ -141,7 +146,9 @@ runs:
141146
sleep 5
142147
starship start \
143148
--config ${{ inputs.config }} \
149+
--name ${{ inputs.name }} \
144150
--namespace ${{ steps.set-namespace.outputs.namespace }} \
151+
--repoUrl ${{ inputs.repo }} \
145152
--chart ${{ inputs.chart }} \
146153
--timeout ${{ inputs.timeout }}
147154
shell: bash
@@ -174,6 +181,7 @@ runs:
174181
--config ${{ inputs.config }} \
175182
--name ${{ inputs.name }} \
176183
--namespace ${{ steps.set-namespace.outputs.namespace }} \
184+
--repoUrl ${{ inputs.repo }} \
177185
--chart ${{ inputs.chart }} \
178186
--timeout ${{ inputs.timeout }}
179187
shell: bash
@@ -189,6 +197,7 @@ runs:
189197
--config ${{ inputs.config }} \
190198
--name ${{ inputs.name }} \
191199
--namespace ${{ steps.set-namespace.outputs.namespace }} \
200+
--repoUrl ${{ inputs.repo }} \
192201
--chart ${{ inputs.chart }} \
193202
--timeout ${{ inputs.timeout }}
194203
shell: bash

0 commit comments

Comments
 (0)