|
20 | 20 |
|
21 | 21 | jobs:
|
22 | 22 | odis-combiner-build-dev:
|
23 |
| - uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.12.3 |
| 23 | + uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v2.1 |
24 | 24 | name: Build us-west1-docker.pkg.dev/devopsre/dev-images/odis-combiner
|
25 | 25 | if: |
|
26 | 26 | github.ref != 'refs/heads/main'
|
27 | 27 | with:
|
28 | 28 | workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect/providers/github-by-repos
|
29 | 29 | service-account: 'social-connect-dev@devopsre.iam.gserviceaccount.com'
|
30 | 30 | artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/odis-combiner
|
31 |
| - tag: ${{ github.sha }} |
| 31 | + tags: ${{ github.sha }} |
32 | 32 | context: .
|
33 | 33 | file: dockerfiles/Dockerfile-combiner
|
34 | 34 | trivy: true
|
35 | 35 |
|
36 | 36 | odis-combiner-build:
|
37 |
| - uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.12.3 |
| 37 | + uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v2.1 |
38 | 38 | name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-combiner
|
39 | 39 | if: |
|
40 | 40 | github.ref == 'refs/heads/main'
|
41 | 41 | with:
|
42 | 42 | workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-main/providers/github-by-repos
|
43 | 43 | service-account: 'social-connect@devopsre.iam.gserviceaccount.com'
|
44 | 44 | artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-combiner
|
45 |
| - tag: ${{ github.sha }} |
| 45 | + tags: ${{ github.sha }} |
46 | 46 | context: .
|
47 | 47 | file: dockerfiles/Dockerfile-combiner
|
48 | 48 | trivy: true
|
49 | 49 |
|
50 | 50 | odis-combiner-tag:
|
51 |
| - uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.12.3 |
| 51 | + uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v2.1 |
52 | 52 | name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-combiner tag
|
53 | 53 | if: |
|
54 | 54 | startsWith(github.ref, 'refs/tags/odis-combiner-')
|
55 | 55 | with:
|
56 | 56 | workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-tag/providers/github-by-repos
|
57 | 57 | service-account: 'social-connect@devopsre.iam.gserviceaccount.com'
|
58 | 58 | artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-combiner
|
59 |
| - tag: ${{ github.ref_name }} |
| 59 | + tags: ${{ github.ref_name }} |
60 | 60 | context: .
|
61 | 61 | file: dockerfiles/phone-number-privacy/Dockerfile-combiner
|
62 | 62 | trivy: true
|
0 commit comments