-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
nx-container build not pushing or loading images #946
Comments
@AlanGRutter please share your config here 🙏🏻 |
@gperdomor I'm experiencing the same issue with our recently migration to NX/nx-container. Building images produces the error @AlanGRutter mentioned. This is our nx-container configuration for an app (redacted sensitive info) in our project.json
Any help would be appreciated. We followed the documentation to set up the repo/project. Ie running... nx g @nx-tools/nx-container:init And selecting Docker When we run the command in CI and locally, the image is produced, and we can |
The fix for us was to run the command with npx nx run-many -t container --parallel=5 --push |
Thank you, ran into this issue and adding --push worked! |
I think moving |
@eric-deeporigin your configuration is wrong, as @tomwidmer says, |
I have followed the instructions in the documentation to either load an image into docker images or push to DockerHub by modifying the metadata section with project.json.
In both cases when I run the command, I get a warning 'No output specified with docker-container driver. Build result will only remain in the build cache.'. The command that was issues does not include the --load or --push options.
The text was updated successfully, but these errors were encountered: