Skip to content

ci: cmake: windows: debug - #3

Closed
otegami wants to merge 2 commits into
mainfrom
debug-windows-cmake
Closed

otegami wants to merge 2 commits into
mainfrom
debug-windows-cmake

Conversation

@otegami

@otegami otegami commented Jun 9, 2024

Copy link
Copy Markdown
Owner

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

otegami commented Aug 25, 2024

Copy link
Copy Markdown
Owner Author

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