feature: add debug option to shoow retrieve root ca
This commit is contained in:
parent
53467717df
commit
40332f3a6a
11
action.yml
11
action.yml
@ -12,6 +12,10 @@ inputs:
|
|||||||
description: 'cfssl pki API port'
|
description: 'cfssl pki API port'
|
||||||
default: '444'
|
default: '444'
|
||||||
required: false
|
required: false
|
||||||
|
debug:
|
||||||
|
description: "show debug information about certificate truststore content"
|
||||||
|
required: false
|
||||||
|
default: "false"
|
||||||
outputs:
|
outputs:
|
||||||
ca-cert:
|
ca-cert:
|
||||||
value: "${{ steps.retrieve-ca-cert.outputs.ca-cert }}"
|
value: "${{ steps.retrieve-ca-cert.outputs.ca-cert }}"
|
||||||
@ -34,3 +38,10 @@ runs:
|
|||||||
echo "EOF" >> "$GITHUB_OUTPUT"
|
echo "EOF" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
echo "ca-cert-base64=$ca_cert_base64" >> "$GITHUB_OUTPUT"
|
echo "ca-cert-base64=$ca_cert_base64" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Show retrieve root CA cert
|
||||||
|
if: ${{ inputs.debug == 'true' }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.retrieve-ca-cert.outputs.ca-cert }}"
|
||||||
|
echo "${{ steps.retrieve-ca-cert.outputs.ca-cert-base64 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user