Skip to content

Commit fd0af0c

Browse files
committed
use native arm64 runners on nightly build
1 parent 5120d1e commit fd0af0c

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/master.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: nightly-master
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
schedule:
59
- cron: "0 0 * * *"
@@ -10,20 +14,23 @@ on:
1014

1115
jobs:
1216
build:
13-
runs-on: ubuntu-latest
1417
strategy:
1518
matrix:
16-
platform: [linux/amd64, linux/arm64]
19+
platform:
20+
- docker: linux/amd64
21+
runner: ubuntu-24.04
22+
- docker: linux/arm64
23+
runner: ubuntu-24.04-arm
1724
variant:
1825
- type: ""
1926
suffix: ""
2027
- type: "-alpine"
2128
suffix: "/alpine"
29+
runs-on: ${{ matrix.platform.runner }}
2230
steps:
2331
- name: Checkout
2432
uses: actions/checkout@v4
25-
- name: Set up QEMU
26-
uses: docker/setup-qemu-action@v3
33+
2734
- name: Set up Docker Buildx
2835
uses: docker/setup-buildx-action@v3
2936
with:
@@ -44,7 +51,7 @@ jobs:
4451
uses: docker/build-push-action@v6
4552
with:
4653
context: master${{ matrix.variant.suffix }}
47-
platforms: ${{ matrix.platform }}
54+
platforms: ${{ matrix.platform.docker }}
4855
push: ${{ github.event_name == 'schedule' }}
4956
tags: bitcoin/bitcoin:master${{ matrix.variant.type }}
5057
cache-from: type=gha

0 commit comments

Comments
 (0)