Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: arm #57

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ inputs:
type: string
default: ./source/Dockerfile
required: false
platform:
description: Platform to build the Docker image for
type: string
default: linux/amd64
required: false
# Secrets
DOCKER_USERNAME:
required: true
Expand Down Expand Up @@ -101,7 +106,7 @@ runs:
# - $target_tag-commit
tags: ${{ inputs.target_repository }}:${{ inputs.target_tag }}-${{ steps.git_commit_hash.outputs.git_commit_hash }},${{ inputs.target_repository }}:${{ inputs.target_tag }}
push: true
platforms: linux/amd64
platforms: ${{ inputs.platform }}
labels: |
ethpandaops.io.repo=${{ inputs.source_repository }}
ethpandaops.io.commitRef=${{ inputs.source_ref }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-besu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ on:
jobs:
besu:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -42,7 +46,7 @@ jobs:
build_script: ./besu/build.sh
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/besu

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-eleel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
eleel:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -41,7 +45,7 @@ jobs:
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/eleel
target_dockerfile: ./eleel/Dockerfile

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/build-push-erigon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ on:
jobs:
erigon:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're not building for linux ARM ser :D
i think its darwin/arm64?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i prefer linuxism over darwinism m8

fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -40,7 +48,7 @@ jobs:
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/erigon

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-ethereumjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
ethereumjs:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -41,7 +45,7 @@ jobs:
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/ethereumjs
target_dockerfile: ./ethereumjs/Dockerfile

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-geth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
geth:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -40,7 +44,7 @@ jobs:
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/geth

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
lighthouse:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -41,7 +45,7 @@ jobs:
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/lighthouse
target_dockerfile: ./lighthouse/Dockerfile

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-lodestar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
jobs:
lodestar:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -39,7 +43,7 @@ jobs:
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/lodestar

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-nethermind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
jobs:
nethermind:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -39,7 +43,7 @@ jobs:
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/nethermind

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-nimbus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
nimbus:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -41,7 +45,7 @@ jobs:
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/nimbus
target_dockerfile: ./nimbus/Dockerfile

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-prysm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
prysm:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -42,7 +46,7 @@ jobs:
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/prysm
target_dockerfile: ./prysm/Dockerfile

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-reth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
jobs:
reth:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -40,7 +44,7 @@ jobs:
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/reth

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-push-teku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
jobs:
teku:
runs-on: ${{ inputs.runs_on }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
Expand All @@ -40,7 +44,7 @@ jobs:
build_script: ./teku/build.sh
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/teku

platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
fail-fast: false
matrix:
config: ${{fromJson(needs.check.outputs.configs)}}
platform: [linux/amd64, linux/arm64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -116,6 +117,7 @@ jobs:
target_tag: ${{ matrix.config.target.tag }}
target_repository: ${{ matrix.config.target.repository }}
target_dockerfile: ${{ matrix.config.target.dockerfile }}
platform: ${{ matrix.platform }}
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
notify:
Expand Down
Loading