Skip to content

Commit

Permalink
🧹 Final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersubudhi committed Dec 9, 2024
1 parent aafd458 commit 4546650
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
linux_amd64:
name: Verify image build on linux/amd64 platform
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 4546650

Please sign in to comment.