fix: Stream finalized tip in Validator #6293
This file contains hidden or 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: Docker Build Check | |
| on: | |
| push: | |
| branches: [main, next] | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| permissions: | |
| contents: read | |
| id-token: write | |
| env: | |
| DOCKER_PLATFORMS: linux/amd64,linux/arm64 | |
| jobs: | |
| docker-build: | |
| runs-on: warp-ubuntu-latest-x64-8x | |
| strategy: | |
| matrix: | |
| include: | |
| - component: node | |
| bin: miden-node | |
| port: 57291 | |
| - component: validator | |
| bin: miden-validator | |
| port: 50101 | |
| - component: ntx-builder | |
| bin: miden-ntx-builder | |
| port: 50301 | |
| - component: remote-prover | |
| bin: miden-remote-prover | |
| port: 50051 | |
| - component: network-monitor | |
| bin: miden-network-monitor | |
| port: 3000 | |
| name: Build ${{ matrix.component }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Prepare image metadata | |
| id: metadata | |
| run: | | |
| echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_OUTPUT" | |
| echo "commit=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" | |
| echo "version=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" | |
| - name: Build | |
| uses: WarpBuilds/build-push-action@ec038a9f4b87a7c7ccb50ac7a26a90d46a610a81 # v6.0.9 | |
| with: | |
| context: . | |
| push: false | |
| file: ./Dockerfile | |
| platforms: ${{ env.DOCKER_PLATFORMS }} | |
| profile-name: ${{ vars.WARPBUILD_DOCKER_BUILDER_PROFILE }} | |
| pull: true | |
| build-args: | | |
| BIN=${{ matrix.bin }} | |
| PORT=${{ matrix.port }} | |
| CREATED=${{ steps.metadata.outputs.created }} | |
| VERSION=${{ steps.metadata.outputs.version }} | |
| COMMIT=${{ steps.metadata.outputs.commit }} |