get-ca-cert/README.md

471 B

get ca cert

Github action to retrieve root ca certificate from pki managed thanks to cfssl.

usage example

name: Main

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: runner
    steps:
      - name: Retrieve root ca certificate
        id: get-ca-cert
        uses: RouxAntoine/get-ca-cert@master
      - run: |
          echo "${{ steps.get-ca-cert.outputs.ca-cert }}"
          echo "${{ steps.get-ca-cert.outputs.ca-cert-base64 }}"