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

[FR] Support for docker image 'tags' property in docker compose build #784

Open
raffidahmad opened this issue Jan 7, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@raffidahmad
Copy link

Is your feature request related to a problem? Please describe.
Docker Compose allows specifying multiple tags for an image using the tags property under the build section. However, compose-x currently ignores this property. While it's possible to include tags in the image key, doing so reduces readability and makes the configuration less clean.

Describe the solution you'd like
Add support for the tags property in the build section of compose-x. This would allow users to specify multiple tags more cleanly and in alignment with Docker Compose standards. For example:

services:
  app:
    build:
      context: .
      tags:
        - my-app:latest
        - my-app:1.0.0
@raffidahmad raffidahmad added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants