Skip to content

Cleaning Dockerfile's & fix por-scan example. #4

Cleaning Dockerfile's & fix por-scan example.

Cleaning Dockerfile's & fix por-scan example. #4

Workflow file for this run

name: examplesCI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
examples-check-compose-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Checking examples/port-scan/docker-compose.yml
run: docker compose --file ./examples/port-scan/docker-compose.yml config -q
- name: Checking examples/ssh-brute-force/docker-compose.yml
run: docker compose --file ./examples/ssh-brute-force/docker-compose.yml config -q
examples-container-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Docker image with Dockerfile.guineapig
run: docker build ./examples --file ./examples/Dockerfile.guineapig --tag guineapig:$(date +%s)
- name: Build Docker image with port-scan/Dockerfile.attacker
run: docker build ./examples/port-scan --file ./examples/port-scan/Dockerfile.attacker --tag attacker:$(date +%s)
- name: Build Docker image with ssh-brute-force/Dockerfile.attacker
run: docker build ./examples/ssh-brute-force --file ./examples/ssh-brute-force/Dockerfile.attacker --tag attacker:$(date +%s)