WeblateOrg / docker-base

Base image for Weblate Docker container
MIT License
0 stars 0 forks source link

Pull requests build fails #6

Closed nijel closed 1 week ago

nijel commented 2 weeks ago

Describe the issue

Currently, the CI pipeline relies on passing the built base image via registry to build the dev image. This is a very similar issue to https://github.com/WeblateOrg/docker/issues/2589.

The root cause is that there doesn't seem to be way in docker to work with multiarch images (manifests) locally: you cannot have locally different architectures of the same image.

I already tried

Steps to reproduce the behavior

  1. Open pull request
  2. See that it doesn't build like https://github.com/WeblateOrg/docker-base/pull/3

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

Additional context

No response

nijel commented 2 weeks ago

The only approach I currently see is splitting up this repo into two, but that seems annoying just to workaround Docker limitations.

nijel commented 2 weeks ago

https://github.com/marketplace/actions/setup-containerd might be the way to go, it seems to support loading multiarch images, but the question is whether these can then be used in build.

github-actions[bot] commented 1 week ago

Thank you for your report; the issue you have reported has just been fixed.