Skip to content

Commit 6043e64

Browse files
authored
fix ci build (#10655)
1 parent 3a0c8a5 commit 6043e64

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
changelog:
2+
- type: NON_USER_FACING
3+
description: >-
4+
Fix broken CI build due to qemu segfault for multiarch images.
5+
6+
skipCI-docs-build:true

ci/cloudbuild/publish-artifacts.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ steps:
5151
- create
5252
- --use
5353

54+
# Reset QEMU to avoid segfaults for multiarch images
55+
- name: 'gcr.io/cloud-builders/docker'
56+
id: 'reset-qemu'
57+
entrypoint: 'sh'
58+
args:
59+
- '-c'
60+
- 'docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes'
61+
5462
- name: 'gcr.io/$PROJECT_ID/go-mod-make:0.12.0'
5563
id: 'build-certgen-arm64-binary'
5664
args:

0 commit comments

Comments
 (0)