Add sign method to handle signing requests in the API endpoint #24
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
name: build | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
signer: | |
name: Build and Scan Signer | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build an image | |
run: | | |
docker build -t signer . | |
- name: Peptide vulnerability scan | |
uses: aquasecurity/[email protected] | |
with: | |
image-ref: 'signer' | |
format: 'table' | |
exit-code: '1' | |
ignore-unfixed: true | |
vuln-type: 'os,library' | |
severity: 'CRITICAL,HIGH' |