Skip to content

Commit

Permalink
[1.18] backport fix ci build (#10655) (#10656)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Heilbron <[email protected]>
Co-authored-by: Andy Fong <[email protected]>
  • Loading branch information
3 people authored Feb 25, 2025
1 parent 5962f10 commit 0e84783
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/v1.18.10/ci-fix-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
changelog:
- type: NON_USER_FACING
description: >-
Fix broken CI build due to qemu segfault for multiarch images.
skipCI-docs-build:true
8 changes: 8 additions & 0 deletions ci/cloudbuild/publish-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ steps:
- create
- --use

# Reset QEMU to avoid segfaults for multiarch images
- name: 'gcr.io/cloud-builders/docker'
id: 'reset-qemu'
entrypoint: 'sh'
args:
- '-c'
- 'docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes'

- name: 'gcr.io/$PROJECT_ID/go-mod-make:0.10.2'
id: 'build-certgen-arm64-binary'
args:
Expand Down

0 comments on commit 0e84783

Please sign in to comment.