mirror of
https://github.com/laramies/theHarvester.git
synced 2026-08-22 05:42:22 +02:00
24 lines
653 B
YAML
24 lines
653 B
YAML
name: TheHarvester Docker Image CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden the runner (Audit all outbound calls)
|
|
uses: step-security/harden-runner@b09bb98e06d4d774595224525879c09bc6e98c40 # v2.20.1
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Build the Docker image
|
|
run: docker build --tag theharvester .
|
|
- name: Smoke test
|
|
run: docker run --rm theharvester --help | grep harvestview
|