Skip to content

Push SBOM to TPA in gitops PR pipeline #2497

Push SBOM to TPA in gitops PR pipeline

Push SBOM to TPA in gitops PR pipeline #2497

name: Validate PR - buildah-remote
'on':
pull_request:
branches: [main]
jobs:
go:
name: Check Buildah Remote
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Check buildah remote
run: |
./hack/generate-buildah-remote.sh
if [[ ! -z $(git status -s) ]]
then
echo "buildah-remote is not up to date, run ./hack/generate-buildah-remote.sh"
git --no-pager diff
exit 1
fi