Update dependency chai to v5.1.2 #139
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 containers for celostats-server | |
on: | |
push: | |
branches: | |
- "master" | |
release: | |
types: [published] | |
pull_request: | |
branches: | |
- "master" | |
workflow_dispatch: | |
jobs: | |
celostats-server-build-dev: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/dev-images/celostats-server | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
if: ${{ github.ref != 'refs/heads/main' && startsWith(github.ref, 'refs/pull/') }} | |
with: | |
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celostats-server/providers/github-by-repos' | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/celostats-server | |
tags: test | |
context: . | |
file: ./Dockerfile | |
trivy: true | |
celostats-server-build-main: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-server | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
if: | | |
github.ref == 'refs/heads/master' | |
with: | |
workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celostats-server-master/providers/github-by-repos' | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-server | |
tags: latest | |
context: . | |
file: ./Dockerfile | |
trivy: true | |
celostats-server-build-tag: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-server tag | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
if: | | |
startsWith(github.ref, 'refs/tags/') | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-celostats-server-master/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-server | |
tags: ${{ github.ref_name }} | |
context: . | |
file: ./Dockerfile | |
trivy: true |