Last active
June 15, 2021 15:25
-
-
Save PaulBarrie/dc90e9cdb546236c70ef2c62f574ed70 to your computer and use it in GitHub Desktop.
Example of use of the dreamquark-ai/github-action-security-report action
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: Example of workflow for security report | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Pull the base image | |
run: docker pull python:3.8-buster | |
- name: Build the new image | |
run: docker build -t python:security-test -f example/Dockerfile . | |
- name: "Security reports" | |
uses: dreamquark-ai/ci-security-report@main | |
env: | |
GITHUB_PAT: ${{secrets.PAT_SECURITY_REPORT_ACTION_EXAMPLE}} | |
with: | |
image: 'python' | |
base-tag: '3.8-buster' | |
new-tag: 'security-test' | |
orga: 'PaulBarrie' | |
repo: 'ci-security-report-example' | |
pr-nb: ${{ github.event.number }} | |
topic: 'github-example' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment