-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (43 loc) · 1.77 KB
/
odis-signer-container.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: Build ODIS signer image
on:
push:
paths:
- 'dockerfiles/phone-number-privacy/Dockerfile-signer'
- 'packages/phone-number-privacy/signer/**'
branches:
- main
pull_request:
paths:
- 'dockerfiles/phone-number-privacy/Dockerfile-signer'
- 'packages/phone-number-privacy/signer/**'
workflow_dispatch:
jobs:
odis-signer-build-dev:
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab
name: Build us-west1-docker.pkg.dev/devopsre/dev-images/odis-signer
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-signer
tag: ${{ github.sha }}
platforms: 'linux/amd64'
context: .
file: dockerfiles/phone-number-privacy/Dockerfile-signer
trivy: true
odis-signer-build:
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@7b956940a337e987289a6788c5a562a3e1e5c2ab
name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-signer
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-signer
tag: ${{ github.sha }}
platforms: 'linux/amd64'
context: .
file: dockerfiles/phone-number-privacy/Dockerfile-signer
trivy: true