Skip to content

Commit

Permalink
chore(taiko-client): add new arm64 runner (#18177)
Browse files Browse the repository at this point in the history
Co-authored-by: Karim <karim@taiko.xyz>
  • Loading branch information
kimo-ice and Karim authored Sep 26, 2024
1 parent 227c5b1 commit 8bd3717
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/taiko-client--docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,39 @@ on:
jobs:
push-docker-image:
name: Build and push docker image
runs-on: [arc-runner-set]
strategy:
matrix:
include:
- runner: arc-runner-set
platform: linux/amd64
- runner: arc-runner-set-arm64
platform: linux/arm64

runs-on: ${{ matrix.runner }}

steps:
- name: Install Git
- name: Prepare Environment
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4

- name: Login to GAR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GAR_JSON_KEY }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
us-docker.pkg.dev/evmchain/images/taiko-client
Expand All @@ -50,7 +58,7 @@ jobs:
with:
context: .
file: packages/taiko-client/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 8bd3717

Please sign in to comment.