Skip to content

Commit d299527

Browse files
authored
print chainctl version after installation (#50)
For debugging it is helpful to know which version of chainctl we are using. After installation, print `chainctl version` so we can search for this in the action logs if necessary. Signed-off-by: Colin Douglas <colin@chainguard.dev>
1 parent d02d928 commit d299527

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

action.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
Determines if we export HTTP_AUTH env variable with chainctl auth
2020
token.
2121
required: false
22-
default: false
22+
default: "false"
2323

2424
identity:
2525
description: |
@@ -49,7 +49,7 @@ inputs:
4949
Set the logging verbosity for chainctl. A value of 0 disables
5050
logging output. Valid values are 1-5, increasing in verbosity.
5151
required: false
52-
default: 0
52+
default: "0"
5353

5454
config-path:
5555
description: |
@@ -62,7 +62,7 @@ inputs:
6262
description: |
6363
Whether to retry on errors downloading the chainctl binary.
6464
required: false
65-
default: true
65+
default: "true"
6666

6767
apk-host:
6868
description: |
@@ -81,7 +81,7 @@ inputs:
8181
description: |
8282
Whether to install the Chainguard Libraries pip keyring package.
8383
required: false
84-
default: false
84+
default: "false"
8585

8686
runs:
8787
using: "composite"
@@ -124,6 +124,9 @@ runs:
124124
chmod +x ./${out}
125125
echo "$(pwd)" >> $GITHUB_PATH
126126
127+
# Print the version of chainctl installed
128+
./${out} version
129+
127130
- name: Authenticate with Chainguard (assumed identity)
128131
shell: bash
129132
if: ${{ inputs.identity != '' }}

0 commit comments

Comments
 (0)