Add a simple rest api wrapping CLI commands for OCSP signing etc #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
jobs: | |
cfssl: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: docker build --target api -t rasenmaeher_cfssl . | |
- run: docker run -d -p 8888:8888 --name rasenmaeher_cfssl rasenmaeher_cfssl | |
- run: sleep 60 && docker logs rasenmaeher_cfssl | |
- run: echo 'print whole trace' && curl http://localhost:8888 | |
- run: echo 'verify cfssl title' && curl http://localhost:8888 | grep '<title>CFSSL</title>' |