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

How to use nx distributed cache for nx-container #877

Open
FaresKi opened this issue Aug 22, 2023 · 0 comments
Open

How to use nx distributed cache for nx-container #877

FaresKi opened this issue Aug 22, 2023 · 0 comments

Comments

@FaresKi
Copy link

FaresKi commented Aug 22, 2023

I'm not exactly sure if it's a bug or not.

I'm currently using the nx-container generator to build Docker images out of my apps in my repo.

The "container" generator uses the build generator, originally provided by nx. It requires to run build, and tests, and linting...etc.

That being said, the building is cached thru DTE, and works accordingly. However, the cache isn't uploaded to the CI, and thus the Dockerfile, when fetching the /.next folder, can't find it since the build was cached and thus not executed.

Is there a way to upload the cached results, or not?

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