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

ci: cmake: windows: debug #3

Closed
wants to merge 2 commits into from
Closed

ci: cmake: windows: debug #3

wants to merge 2 commits into from

Conversation

otegami
Copy link
Owner

@otegami otegami commented Jun 9, 2024

No description provided.

@otegami otegami changed the title co: cmake: windows: debug ci: cmake: windows: debug Jun 9, 2024
otegami added a commit that referenced this pull request Jul 3, 2024
…s image (groonga#1807)

ref: groonga#1806

This change solves the following error on CI.
Because Docker build process does not automatically detect the correct
platform for the image. As a result, the platform information defaults
to the host platform. So in this case, platform infromation wasn't as a
arm64.

To resolve this issue, we need to specify the platform explicitly in the
Docker build command.
ref: https://docs.docker.com/build/building/multi-platform/

Here is the error log:


https://github.com/groonga/groonga/actions/runs/9705591558/job/26788067581#step:9:42

```
------
#3 [internal] load metadata for docker.io/arm64v8/almalinux:8
#3 ERROR: no match for platform in manifest: not found
------
Dockerfile:2
--------------------
   1 |     ARG FROM=almalinux:8
   2 | >>> FROM ${FROM}
   3 |
   4 |     ARG DEBUG
--------------------
ERROR: failed to solve: arm64v8/almalinux:8: failed to resolve source metadata for docker.io/arm64v8/almalinux:8: no match for platform in manifest: not found
rake aborted!#1 [internal] load build definition from Dockerfile
```

---------

Co-authored-by: Horimoto Yasuhiro <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
@otegami
Copy link
Owner Author

otegami commented Aug 25, 2024

It's already been resolved.

@otegami otegami closed this Aug 25, 2024
@otegami otegami deleted the debug-windows-cmake branch November 27, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant