Skip to content

Local registry issues with dependencies #2411

@lizardruss

Description

@lizardruss

What happened?
When using local registry in a DevSpace project with dependencies, only some of the images can be pushed.

What did you expect to happen instead?
All images to be built and pushed.

How can we reproduce the bug? (as minimally and precisely as possible)
Using the microservices example, the second image to build will attempt to start a second local registry and fail

Local Environment:

Anything else we need to know?
Each dependency build tries to start a local registry with the same name, and then attempt to port-forward on the same port.

Workaround:
Configure the local registry for dependents to have different names. This will cause them to have separate ports to forward on.

node/devspace.yaml

localRegistry:
  name: node-registry

php/devspace.yaml

localRegistry:
  name: php-registry

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugkind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions