-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
v1.36.0 Docker Image Tries to Create /cache
#12946
Comments
Look at my "note" comment in the release notes. Documentation will follow, but if you follow some of the links in the release notes, there are some context. |
Hmmm…I see this line; I don't think I uses any caching, though. Happy to await doc updates. |
@theory everyone who uses Hugo use caching to some extent. I guess I forgot to link to PR #12921 in the release notes that had the most relevant info. Example Docker run: docker run --rm -v .:/project -v $HOME/Library/Caches/hugo_cache:/cache imagename build We now expect a mount from the host to We could (should?) possibly make this optional (or at least validate and throw a better error), but this is very important, especially for larger Hugo sites that do image processing; with the above you would have a Hugo cache that's not thrown away with the container. |
Ah-hah. I wonder if I should sue the caching action. My builds are always super fast, though. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
Issue
The v1.36.0 Docker image appears to try to create the directory
/cache/
. See, for example, this Workflow run, which errors with:This was not the case with v1.35.0. The only change in that workflow build is:
The text was updated successfully, but these errors were encountered: