feat: run deal filters in parallel #217
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- 'v*' | |
pull_request: | |
jobs: | |
build: | |
name: Containers | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
env: | |
LOTUS_VERSION: 'v1.23.3' | |
LOTUS_SOURCE_IMAGE: 'ghcr.io/filecoin-shipyard/lotus-containers:lotus' | |
NETWORK_NAME: 'devnet' | |
FFI_BUILD_FROM_SOURCE: '0' | |
DOCKER_BUILDKIT: '1' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update Boost modules | |
run: make build/.update-modules | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- name: Log in to the Container registry | |
uses: docker/login-action@v2 | |
if: ${{ github.event_name != 'pull_request' }} | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build boost-dev | |
uses: ./.github/actions/container-builder | |
with: | |
name: boost-dev | |
file: docker/devnet/Dockerfile.source | |
target: boost-dev | |
push: ${{ github.event_name != 'pull_request' }} | |
build-args: | | |
LOTUS_TEST_IMAGE=${{ env.LOTUS_SOURCE_IMAGE }}-${{ env.LOTUS_VERSION }}-${{ env.NETWORK_NAME }} | |
FFI_BUILD_FROM_SOURCE=${{ env.FFI_BUILD_FROM_SOURCE }} | |
- name: Build booster-http-dev | |
uses: ./.github/actions/container-builder | |
with: | |
name: booster-http-dev | |
file: docker/devnet/Dockerfile.source | |
target: booster-http-dev | |
push: ${{ github.event_name != 'pull_request' }} | |
build-args: | | |
LOTUS_TEST_IMAGE=${{ env.LOTUS_SOURCE_IMAGE }}-${{ env.LOTUS_VERSION }}-${{ env.NETWORK_NAME }} | |
FFI_BUILD_FROM_SOURCE=${{ env.FFI_BUILD_FROM_SOURCE }} | |
- name: Build booster-bitswap-dev | |
uses: ./.github/actions/container-builder | |
with: | |
name: booster-bitswap-dev | |
file: docker/devnet/Dockerfile.source | |
target: booster-bitswap-dev | |
push: ${{ github.event_name != 'pull_request' }} | |
build-args: | | |
LOTUS_TEST_IMAGE=${{ env.LOTUS_SOURCE_IMAGE }}-${{ env.LOTUS_VERSION }}-${{ env.NETWORK_NAME }} | |
FFI_BUILD_FROM_SOURCE=${{ env.FFI_BUILD_FROM_SOURCE }} |