1
- name : Build Prover FRI GPU with builtin setup data
1
+ name : Build Prover FRI GPU & Circuit Prover GPU with builtin setup data
2
2
3
3
on :
4
4
workflow_call :
17
17
type : string
18
18
19
19
jobs :
20
- build-gar-prover-fri-gpu :
20
+ build :
21
21
name : Build prover FRI GPU GAR
22
22
runs-on : [matterlabs-ci-runner-high-performance]
23
23
steps :
39
39
- name : Set up Docker Buildx
40
40
uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
41
41
42
- - name : Build and push
42
+ - name : Login to Asia GAR
43
+ run : |
44
+ gcloud auth print-access-token --lifetime=7200 --impersonate-service-account=gha-ci-runners@matterlabs-infra.iam.gserviceaccount.com | docker login -u oauth2accesstoken --password-stdin https://asia-docker.pkg.dev
45
+
46
+ - name : Login to Europe GAR
47
+ run : |
48
+ gcloud auth print-access-token --lifetime=7200 --impersonate-service-account=gha-ci-runners@matterlabs-infra.iam.gserviceaccount.com | docker login -u oauth2accesstoken --password-stdin https://europe-docker.pkg.dev
49
+
50
+ - name : Build and push prover-gpu-fri-gar
43
51
uses : docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
44
52
with :
45
53
context : docker/prover-gpu-fri-gar
@@ -49,22 +57,36 @@ jobs:
49
57
tags : |
50
58
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
51
59
52
- - name : Login to Asia GAR
60
+ - name : Build and push prover-gpu-fri-gar to Asia GAR
53
61
run : |
54
- gcloud auth print-access-token --lifetime=7200 --impersonate-service-account=gha-ci-runners@matterlabs-infra.iam.gserviceaccount.com | docker login -u oauth2accesstoken --password-stdin https://asia-docker.pkg.dev
62
+ docker buildx imagetools create \
63
+ --tag asia-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
64
+ us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
55
65
56
- - name : Build and push to Asia GAR
66
+ - name : Build and push prover-gpu-fri-gar to Europe GAR
57
67
run : |
58
68
docker buildx imagetools create \
59
- --tag asia -docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
69
+ --tag europe -docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
60
70
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
61
71
62
- - name : Login to Europe GAR
72
+ - name : Build and push circuit-prover-gpu-gar
73
+ uses : docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
74
+ with :
75
+ context : docker/circuit-prover-gpu-gar
76
+ build-args : |
77
+ PROVER_IMAGE=${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
78
+ push : true
79
+ tags : |
80
+ us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
81
+
82
+ - name : Build and push circuit-prover-gpu-gar to Asia GAR
63
83
run : |
64
- gcloud auth print-access-token --lifetime=7200 --impersonate-service-account=gha-ci-runners@matterlabs-infra.iam.gserviceaccount.com | docker login -u oauth2accesstoken --password-stdin https://europe-docker.pkg.dev
84
+ docker buildx imagetools create \
85
+ --tag asia-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
86
+ us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
65
87
66
- - name : Build and push to Europe GAR
88
+ - name : Build and push circuit-prover-gpu-gar to Europe GAR
67
89
run : |
68
90
docker buildx imagetools create \
69
- --tag europe-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri -gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
70
- us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri -gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
91
+ --tag europe-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover -gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
92
+ us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover -gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
0 commit comments