forked from ethereum-optimism/op-geth
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (39 loc) · 1.6 KB
/
docker-build-scan.yaml
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
name: Docker Build Push
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build-scan-container-geth:
permissions:
contents: read
security-events: write
id-token: write
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@main
name: Build us-west1-docker.pkg.dev/blockchaintestsglobaltestnet/dev-images/op-geth:${{ github.sha }}
with:
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-op-geth/providers/github-by-repos
service-account: '[email protected]'
artifact-registry: us-west1-docker.pkg.dev/blockchaintestsglobaltestnet/dev-images/op-geth
tags: ${{ github.sha }}
platforms: linux/amd64,linux/arm64
context: .
file: Dockerfile
trivy: true
build-scan-container-bootnode:
permissions:
contents: read
security-events: write
id-token: write
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@main
name: Build us-west1-docker.pkg.dev/blockchaintestsglobaltestnet/dev-images/op-geth-bootnode:${{ github.sha }}
with:
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-op-geth/providers/github-by-repos
service-account: '[email protected]'
artifact-registry: us-west1-docker.pkg.dev/blockchaintestsglobaltestnet/dev-images/op-geth-bootnode
tags: ${{ github.sha }}
platforms: linux/amd64,linux/arm64
context: .
file: Dockerfile.bootnode
trivy: true