22 lines
474 B
YAML
22 lines
474 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: Fix Git permissions for TruffleHog Docker container
|
|
run: sudo chown -R root:root .
|
|
|
|
- name: TruffleHog Secret Scan
|
|
uses: trufflesecurity/trufflehog@main
|
|
with:
|
|
extra_args: --only-verified
|