jauderho / dockerfiles

Dockerfiles for various things
https://hub.docker.com/r/jauderho/
BSD 3-Clause "New" or "Revised" License
101 stars 20 forks source link

Make scan.yml build the scan matrix from a file #494

Closed jauderho closed 2 days ago

jauderho commented 2 years ago

It is unwieldy to manually update the matrix in 3 different locations in the workflow. This should be built by reading from a file and building up the matrix.

References:

Something along the lines of cat IMAGES | jq -R -s 'split("\n")[:-1]' which then produces:

[
  "FiloSottile/age",
  "nakabonne/ali",
  "ansible/ansible",
  "OWASP/amass",
  "jauderho/bl3auto",
  "psf/black",
  "jauderho/cf-warp",
  "cloudflare/cloudflared",
  "coredns/coredns",
  "StackExchange/dnscontrol",
  "DNSCrypt/dnscrypt-proxy",
  "cloudskiff/driftctl",
  "moncho/dry",
  "multiprocessio/dsq",
  "wader/fq",
  "osrg/gobgp",
  "kffl/gocannon",
  "buger/goreplay",
  "juanfont/headscale",
  "nojima/httpie-go",
  "projectdiscovery/httpx",
  "go-acme/lego",
  "fullhunt/log4j-scan",
  "0xInfection/logmepwn",
  "johnkerl/miller",
  "slackhq/nebula",
  "gravitl/netmaker",
  "binwiederhier/ntfy",
  "cube2222/octosql",
  "aramperes/onetun",
  "prettier/prettier",
  "cilium/pwru",
  "rclone/rclone",
  "authzed/spicedb",
  "jtesta/ssh-audit",
  "nabla-c0d3/sslyze",
  "projectdiscovery/subfinder",
  "tailscale/tailscale",
  "hashicorp/terraform",
  "drwetter/testssl.sh",
  "shopify/toxiproxy",
  "tsenart/vegeta",
  "saulpw/visidata",
  "yggdrasil-network/yggdrasil-go",
  "ytdl-org/youtube-dl",
  "yt-dlp/yt-dlp",
  "getzola/zola"
]
MaxPeal commented 2 years ago

why not get it for the dockerfiles?

495

jauderho commented 2 days ago

Commit 9516b2225cac31ece254f53b473e6fdac39a352d completes this.