You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the @nx-tools/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?
Expected Behavior
I would like to be able to upload the cached results to reuse them with other generators.
> NX Running target container for 3 projects and 7 tasks they depend on:
- sahl-admin-dashboard
- sahl-showcase-site
- sahl
> nx run sahl-showcase-site:build:production [remote cache]
...
[Dockerfile]: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref i4cj9sxklw2vr2b7ryba6kcd2::g176vuli380pkuys0qon1yief: "/apps/sahl-showcase-site/.next": not found
> nx run sahl:build:production [remote cache]
...
[Dockerfile]: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref i4cj9sxklw2vr2b7ryba6kcd2::wk9w78ilbdsrdh4o7rgc8p17s: "/apps/sahl/.next": not found
> nx run sahl-admin-dashboard:build:production (works as expected)
...
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
I'm not exactly sure if it's a bug or not.
I'm currently using the @nx-tools/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?
Expected Behavior
I would like to be able to upload the cached results to reuse them with other generators.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: