Skip to content

Commit 6a25b4d

Browse files
committed
aarch ci build and publish
1 parent e06e875 commit 6a25b4d

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
- name: Set up Docker Buildx
2626
uses: docker/setup-buildx-action@v3
2727

28+
- name: Set up QEMU
29+
uses: docker/setup-qemu-action@v3
30+
with:
31+
platforms: linux/amd64,linux/arm64
32+
2833
###############################################################
2934
# Build ibgateway
3035
###############################################################
@@ -47,6 +52,7 @@ jobs:
4752
with:
4853
push: false
4954
load: true
55+
platforms: linux/amd64,linux/arm64
5056
context: ./${{ env.CHANNEL }}
5157
cache-from: type=gha
5258
cache-to: type=gha,mode=max
@@ -75,6 +81,7 @@ jobs:
7581
with:
7682
push: false
7783
load: true
84+
platforms: linux/amd64,linux/arm64
7885
context: ${{ env.CHANNEL }}
7986
file: ${{ env.CHANNEL }}/Dockerfile.tws
8087
cache-from: type=gha

.github/workflows/publish.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
- name: Set up Docker Buildx
2626
uses: docker/setup-buildx-action@v3
2727

28+
- name: Set up QEMU
29+
uses: docker/setup-qemu-action@v3
30+
with:
31+
platforms: linux/amd64,linux/arm64
32+
2833
###############################################################
2934
# Login container registry
3035
###############################################################
@@ -62,6 +67,7 @@ jobs:
6267
- name: Build and push ibgateway
6368
uses: docker/build-push-action@v5
6469
with:
70+
platforms: linux/amd64,linux/arm64
6571
context: ${{ steps.channel.outputs.channel }}
6672
cache-from: type=gha
6773
cache-to: type=gha,mode=max
@@ -90,10 +96,11 @@ jobs:
9096
- name: Build and push TWS
9197
uses: docker/build-push-action@v5
9298
with:
93-
context: ${{ steps.channel.outputs.channel }}
94-
file: ${{ steps.channel.outputs.channel }}/Dockerfile.tws
95-
cache-from: type=gha
96-
cache-to: type=gha,mode=max
97-
push: true
98-
tags: ${{ steps.meta-tws.outputs.tags }}
99-
labels: ${{ steps.meta-tws.outputs.labels }}
99+
platforms: linux/amd64,linux/arm64
100+
context: ${{ steps.channel.outputs.channel }}
101+
file: ${{ steps.channel.outputs.channel }}/Dockerfile.tws
102+
cache-from: type=gha
103+
cache-to: type=gha,mode=max
104+
push: true
105+
tags: ${{ steps.meta-tws.outputs.tags }}
106+
labels: ${{ steps.meta-tws.outputs.labels }}

0 commit comments

Comments
 (0)