mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Support arm64 dedicated workflow (#841)
* add self hosted runner to publish arm64 images * test build with macos and ubuntu arm64 * Add docker to mac runner and remove qemu * dedicated workflow for arm64 image * cleaning * ci: add a different name for workflow docker arm64 * clean workflow * only build arm64 image and make tag configurable
This commit is contained in:
parent
f40dca0b80
commit
517e5b4b07
1 changed files with 8 additions and 5 deletions
13
.github/workflows/docker-arm64.yaml
vendored
13
.github/workflows/docker-arm64.yaml
vendored
|
|
@ -1,7 +1,12 @@
|
|||
name: Docker
|
||||
name: Docker-arm64
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "tag of this image (suffix -arm64 is added automatically)"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build-and-push-arm64-image:
|
||||
|
|
@ -9,14 +14,12 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- amd64
|
||||
- aarch64
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up QEMU
|
||||
if: matrix.arch == 'aarch64'
|
||||
run: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
docker buildx create --name multiarch --driver docker-container --use
|
||||
|
|
@ -35,4 +38,4 @@ jobs:
|
|||
context: .
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: scrolltech/l2geth:${{github.ref_name}}-arm64-ubuntu
|
||||
tags: scrolltech/l2geth:${{inputs.tag}}-arm64
|
||||
|
|
|
|||
Loading…
Reference in a new issue