From 4546650ddb7a19d84b1aa99f85ed5bf6d31358ae Mon Sep 17 00:00:00 2001 From: Sameer Kumar Subudhi Date: Mon, 9 Dec 2024 15:45:34 +0100 Subject: [PATCH] :broom: Final cleanup --- .github/workflows/docker.yml | 6 ++---- .github/workflows/pr.yml | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d868257..fc45ab6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,19 +4,17 @@ on: push: branches: - main - - LISK-1402-Publish-docker-images-to-ECR env: DOCKER_BUILD_PLATFORMS: linux/amd64 RETH_FEATURES: jemalloc,asm-keccak,optimism - RETH_BUILD_PROFILE: release + RETH_BUILD_PROFILE: maxperf jobs: docker_prep: - name: Pre-prep for docker image build + name: Build and push docker image runs-on: ubuntu-latest environment: ${{ github.ref_name }} - steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a5577c9..a863415 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,6 +5,7 @@ on: jobs: linux_amd64: + name: Verify image build on linux/amd64 platform runs-on: ubuntu-latest strategy: matrix: @@ -18,8 +19,10 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Build the Docker image uses: docker/build-push-action@v6 with: @@ -29,7 +32,9 @@ jobs: build-args: | FEATURES=${{ matrix.features }} platforms: linux/amd64 + linux_arm64: + name: Verify image build on linux/arm64 platform runs-on: linux-arm64 strategy: matrix: @@ -43,8 +48,10 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Build the Docker image uses: docker/build-push-action@v6 with: