build(deps): bump helm/chart-releaser-action from 1.5.0 to 1.6.0 #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: Container CI pipeline | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out PeekabooAV-Installer under $GITHUB_WORKSPACE | |
- name: Checkout PeekabooAV-Installer | |
uses: actions/checkout@v3 | |
# put PeekabooAV below that as expected by the installer | |
- name: Checkout PeekabooAV | |
uses: actions/checkout@v3 | |
with: | |
repository: scVENUS/PeekabooAV | |
path: PeekabooAV | |
- name: Install tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install swaks | |
- name: Bring up the environment | |
run: docker-compose up --build --detach | |
- name: Submit test job | |
run: | | |
# note the glob | |
tf="/opt/peekaboo/lib/python*/site-packages/peekaboo/server.py" | |
docker-compose exec -T peekabooav /bin/sh -c \ | |
"/opt/peekaboo/bin/peekaboo-util scan-file -f $tf" | \ | |
grep file.has.been.categorized.*bad | |
- name: Bring down the environment | |
run: docker-compose down |