fix: add check for empty number of files in dir before scan (#431) #26
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: Check build of docker container | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
building: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28 | |
- name: Build docker container | |
run: docker image build --no-cache --progress=plain . |