chore: add trivy scanner to docker image as well #10
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: Run hadolint | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
hadolint: | |
name: Run hadolint check | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# TODO add hadolint output as comment on PR | |
# https://github.com/hadolint/hadolint-action#output | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: Dockerfile |