19 lines
522 B
YAML
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 .
|