Skip to content

Commit 8bbdd22

Browse files
fix: docker image build for amd64 and arm64 separately (#1364)
1 parent 7726912 commit 8bbdd22

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/build-push-edge-kafka.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
context: .
4444
file: ./Dockerfile.kafka
4545
push: true
46-
tags: parseable/parseable:edge-kafka
46+
tags: parseable/parseable:edge-kafka-amd64
4747
platforms: linux/amd64
4848
build-args: |
4949
LIB_DIR=x86_64-linux-gnu
@@ -54,7 +54,7 @@ jobs:
5454
context: .
5555
file: ./Dockerfile.kafka
5656
push: true
57-
tags: parseable/parseable:edge-kafka
57+
tags: parseable/parseable:edge-kafka-arm64
5858
platforms: linux/arm64
5959
build-args: |
6060
LIB_DIR=aarch64-linux-gnu

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,25 @@ jobs:
229229
push: true
230230
tags: parseable/parseable:${{ github.ref_name }}
231231
platforms: linux/amd64,linux/arm64
232+
233+
- name: Build and push kafka amd64
234+
uses: docker/build-push-action@v6
235+
with:
236+
context: .
237+
file: ./Dockerfile.kafka
238+
push: true
239+
tags: parseable/parseable:${{ github.ref_name }}-kafka-amd64
240+
platforms: linux/amd64
241+
build-args: |
242+
LIB_DIR=x86_64-linux-gnu
243+
244+
- name: Build and push kafka arm64
245+
uses: docker/build-push-action@v6
246+
with:
247+
context: .
248+
file: ./Dockerfile.kafka
249+
push: true
250+
tags: parseable/parseable:${{ github.ref_name }}-kafka-arm64
251+
platforms: linux/arm64
252+
build-args: |
253+
LIB_DIR=aarch64-linux-gnu

0 commit comments

Comments
 (0)