|
23 | 23 | permissions:
|
24 | 24 | packages: write
|
25 | 25 | contents: read
|
| 26 | + strategy: |
| 27 | + fail-fast: false |
| 28 | + matrix: |
| 29 | + build: |
| 30 | + - name: 'Build and push reth image' |
| 31 | + command: 'make PROFILE=maxperf docker-build-push' |
| 32 | + - name: 'Build and push reth image, tag as "latest"' |
| 33 | + command: 'make PROFILE=maxperf docker-build-push-latest' |
| 34 | + - name: 'Build and push op-reth image' |
| 35 | + command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push' |
| 36 | + - name: 'Build and push op-reth image, tag as "latest"' |
| 37 | + command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-latest' |
26 | 38 | steps:
|
27 | 39 | - uses: actions/checkout@v4
|
28 | 40 | - uses: rui314/setup-mold@v1
|
|
41 | 53 | run: |
|
42 | 54 | docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
|
43 | 55 | docker buildx create --use --name cross-builder
|
44 |
| - - name: Build and push reth image, tag as "latest" |
45 |
| - run: make PROFILE=maxperf docker-build-push-latest |
46 |
| - - name: Build and push reth image |
47 |
| - run: make PROFILE=maxperf docker-build-push |
48 |
| - - name: Build and push op-reth image, tag as "latest" |
49 |
| - run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-latest |
50 |
| - - name: Build and push op-reth image |
51 |
| - run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push |
| 56 | + - name: Build and push ${{ matrix.build.name }} |
| 57 | + run: ${{ matrix.build.command }} |
0 commit comments