[WIP] Adds Prometheus metrics to ODIS combiner daemon (Odis Combiner to k8s) #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build ODIS combiner image | |
on: | |
push: | |
paths: | |
- 'dockerfiles/phone-number-privacy/Dockerfile-combiner' | |
- 'packages/phone-number-privacy/combiner/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'dockerfiles/phone-number-privacy/Dockerfile-combiner' | |
- 'packages/phone-number-privacy/combiner/**' | |
workflow_dispatch: | |
jobs: | |
odis-combiner-build-dev: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/dev-images/monorepo:${{ github.sha }} | |
if: | | |
github.ref != 'refs/heads/main' | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/odis-combiner | |
tag: ${{ github.sha }} | |
context: . | |
file: dockerfiles/phone-number-privacy/Dockerfile-combiner | |
trivy: true | |
odis-combiner-build: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/celo-monorepo/monorepo:${{ github.sha }} | |
if: | | |
github.ref == 'refs/heads/main' | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-main/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-combiner | |
tag: ${{ github.sha }} | |
context: . | |
file: dockerfiles/phone-number-privacy/Dockerfile-combiner | |
trivy: true |