ctie-exercice/.gitea/workflows/trufflehog.yml
Adrien Bouvais 0d17916171
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 16s
Validate Kubernetes & YAML / validate-all (push) Successful in 39s
Fix
2026-08-17 10:13:45 +02:00

19 lines
522 B
YAML

name: Build and Push Docker Images
on: [pull_request, push]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run TruffleHog CLI
run: |
curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh | sudo sh -s -- -b /usr/local/bin > /dev/null 2>&1
trufflehog git file://$(pwd) --results=verified --json 2>/dev/null | jq .