Skip to content

OIDC to use GCPLogging #125

OIDC to use GCPLogging

OIDC to use GCPLogging #125

name: build-scan-logs-for-secrets
on:
pull_request_target:
types: [ opened, synchronize, reopened, ready_for_review ]
paths:
- "cmd/cloud-run/scan-logs-for-secrets/*.go"
- "cmd/cloud-run/scan-logs-for-secrets/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
push:
branches:
- main
paths:
- "cmd/cloud-run/scan-logs-for-secrets/*.go"
- "cmd/cloud-run/scan-logs-for-secrets/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
workflow_dispatch: {}
jobs:
build-image:
uses: ./.github/workflows/image-builder.yml
with:
name: scan-logs-for-secrets
dockerfile: cmd/cloud-run/scan-logs-for-secrets/Dockerfile
context: .
print-image:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: Print image
run: echo "Image built ${{ needs.build-image.outputs.images }}"