Skip to content

Fix dockerfiles after yarn upgrade #167

Fix dockerfiles after yarn upgrade

Fix dockerfiles after yarn upgrade #167

---
name: Build ODIS signer image
on:
push:
paths:
- 'dockerfiles/Dockerfile-signer'
- 'apps/signer/**'
branches:
- main
tags:
- odis-signer-.*
pull_request:
paths:
- 'dockerfiles/Dockerfile-signer'
- 'apps/signer/**'
workflow_dispatch:
jobs:
odis-signer-build-dev:
uses: celo-org/reusable-workflows/.github/workflows/[email protected]
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 }}
context: .
file: dockerfiles/Dockerfile-signer
trivy: true
odis-signer-build:
uses: celo-org/reusable-workflows/.github/workflows/[email protected]
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 }}
context: .
file: dockerfiles/Dockerfile-signer
trivy: true
odis-signer-tag:
uses: celo-org/reusable-workflows/.github/workflows/[email protected]
name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-signer tag
if: |
startsWith(github.ref, 'refs/tags/odis-signer-')
with:
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-tag/providers/github-by-repos
service-account: '[email protected]'
artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-signer
tag: ${{ github.ref_name }}
context: .
file: dockerfiles/phone-number-privacy/Dockerfile-signer
trivy: true