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

INPUT_TAGS doesn't support setting multiple tags #764

Closed
mrfelton opened this issue Mar 20, 2023 · 1 comment
Closed

INPUT_TAGS doesn't support setting multiple tags #764

mrfelton opened this issue Mar 20, 2023 · 1 comment

Comments

@mrfelton
Copy link

mrfelton commented Mar 20, 2023

ref nx-container https://github.com/gperdomor/nx-tools/blob/main/packages/nx-container/docs/inputs.md

Note: For list values use a comma-delimited string, like INPUT_TAGS=user/app:v1,user/app:latest

This doesn’t appear to work. Following the example there:

INPUT_TAGS=user/app:v1,user/app:latest nx container api

The resulting docker build command only has a single tag --tag api:user-app-latest

I would expect it to have to tags, like --tag api:user-app-v1 --tag=api:user-app-latest

@gperdomor
Copy link
Owner

This is a duplicate of #356 but in summary, if you want to use metadata and override the tags using environment variables please check this https://github.com/gperdomor/nx-tools/blob/main/packages/nx-container/TROUBLESHOOTING.md#inline-execution

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

2 participants