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 when services.X and networks.X have same name. #123

Open
loynoir opened this issue Jul 8, 2022 · 0 comments
Open

Bug when services.X and networks.X have same name. #123

loynoir opened this issue Jul 8, 2022 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Jul 8, 2022

Bug when services.X and networks.X have same name

in 'docker-compose.yml' '2' images rewritten, but expected to rewrite '1'
version: "3.6"

networks:
  app:

services:
  build:
    pull_policy: never
    image: private/image
    build:
      dockerfile: foobar.Dockerfile

  app:
    depends_on:
      - build
    pull_policy: never
    image: private/image

OK when services.X and networks.Y

version: "3.6"

networks:
  napp:

services:
  build:
    pull_policy: never
    image: private/image
    build:
      dockerfile: foobar.Dockerfile

  app:
    depends_on:
      - build
    pull_policy: never
    image: private/image
successfully generated lockfile!
successfully rewrote files referenced by lockfile!
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

No branches or pull requests

1 participant