Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: github-actions workflow to build and publish docker image failing #130

Closed
rishabh6788 opened this issue Jun 7, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@rishabh6788
Copy link
Collaborator

Describe the bug

The github-actions workflow to build and publish docker image is failing with below error:

Error: buildx failed with: error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c /usr/local/bin/install-plugins.sh < plugins.txt" did not complete successfully: exit code: 255

To reproduce

Trigger the workflow without explicitly setting up QEMU emulator.

Expected behavior

No response

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@rishabh6788 rishabh6788 added bug Something isn't working untriaged Issues that have not yet been triaged labels Jun 7, 2022
@rishabh6788
Copy link
Collaborator Author

As per docker/buildx#464 the qemu emulator need to setup.
This is also recommended in all the examples https://github.com/docker/build-push-action which we are using to build and push docker image.

@peterzhuamazon
Copy link
Member

If this is for jenkins main node then no need to care about using buildx.

We can lock the jenkins mainnode to use x64.

It is not like we would ever run our Jenkins on arm64.

@gaiksaya
Copy link
Member

This was regarding building the docker image on GHA. Nothing related to jenkins. Looks like the fix is in. Closing the issue.
Thanks!

njordhov added a commit to njordhov/docker-shadow-cljs that referenced this issue Jan 9, 2023
"setup-qemu action can be useful if you want to add emulation support with QEMU to be able to build against more platforms."
https://github.com/docker/build-push-action
opensearch-project/opensearch-ci#130 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issues that have not yet been triaged
Projects
None yet
Development

No branches or pull requests

3 participants