Skip to content

Commit f52718d

Browse files
authored
add config-path input to configure chainctl for different environments (#11)
Signed-off-by: Colin Douglas <colin@chainguard.dev>
1 parent 1c6e674 commit f52718d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ inputs:
4444
required: false
4545
default: 0
4646

47+
config-path:
48+
description: |
49+
The location of the chainctl config file to use. These values
50+
override the default configuration values in the binary.
51+
required: false
52+
default: ''
53+
4754
runs:
4855
using: "composite"
4956

@@ -86,6 +93,7 @@ runs:
8693
CHAINCTL_DEBUG: "true"
8794
VERBOSITY: ${{ inputs.verbosity }}
8895
IDENTITY: ${{ inputs.identity }}
96+
CHAINCTL_CONFIG: ${{ inputs.config-path }}
8997
run: |
9098
if chainctl auth login --identity "${{ env.IDENTITY }}" -v=${{ env.VERBOSITY }}; then
9199
echo Logged in as ${{ env.IDENTITY }}!

0 commit comments

Comments
 (0)