Skip to content

Commit 26d3279

Browse files
authored
Update workflow config to fix docker publish (#406)
* Update workflow config to fix docker publish * remove arm64 arch
1 parent 50ae0f7 commit 26d3279

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/docker.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ env:
1818
jobs:
1919
geth:
2020
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
arch: [linux/amd64]
2124
steps:
2225
- name: Checkout
23-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
2427

2528
- name: Log into the Container registry
2629
uses: docker/login-action@v3
@@ -32,7 +35,7 @@ jobs:
3235
- name: Set up QEMU
3336
uses: docker/setup-qemu-action@v2
3437
with:
35-
platforms: linux/amd64,linux/arm64
38+
platforms: ${{ matrix.arch }}
3639

3740
- name: Extract metadata for the Docker image
3841
id: meta
@@ -53,7 +56,7 @@ jobs:
5356
push: true
5457
tags: ${{ steps.meta.outputs.tags }}
5558
labels: ${{ steps.meta.outputs.labels }}
56-
platforms: linux/amd64,linux/arm64
59+
platforms: ${{ matrix.arch }}
5760
reth:
5861
runs-on: ubuntu-latest
5962
strategy:

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
arch: [linux/amd64, linux/arm64]
12+
arch: [linux/amd64]
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up QEMU
2020
uses: docker/setup-qemu-action@v2
2121
with:
22-
platforms: linux/amd64,linux/arm64
22+
platforms: ${{ matrix.arch }}
2323

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

0 commit comments

Comments
 (0)