2024-08-25 16:36:57 +00:00
|
|
|
# get ca cert
|
|
|
|
|
|
|
|
Github action to retrieve root ca certificate from pki managed thanks to cfssl.
|
|
|
|
|
|
|
|
usage example
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
name: Main
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: runner
|
|
|
|
steps:
|
|
|
|
- name: Retrieve root ca certificate
|
|
|
|
id: get-ca-cert
|
2024-09-08 19:54:03 +00:00
|
|
|
uses: https://antoine-roux.tk/projects/actions/get-ca-cert@v1.1.0
|
2024-08-25 16:36:57 +00:00
|
|
|
- run: |
|
|
|
|
echo "${{ steps.get-ca-cert.outputs.ca-cert }}"
|
|
|
|
echo "${{ steps.get-ca-cert.outputs.ca-cert-base64 }}"
|
|
|
|
```
|