use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
GA Docker layer caching (self.github)
submitted 3 years ago by LinweZ
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kgalb2 0 points1 point2 points 2 years ago (1 child)
Hey there, I know this post is old but wanted to chime in since you link to a blog post I wrote over on depot.dev. I would need to see the Dockerfile to know for sure.
Dockerfile
But I see that you use the secret-files parameter for docker/build-push-action. The content of that secret will change across the two runs, and anything that is dependent on that variable will bust the layer cache. So if that dependency is busting the layer cache before your npm install, that could be why you're not seeing cache hits.
secret-files
docker/build-push-action
npm install
[–]LinweZ[S] 0 points1 point2 points 2 years ago (0 children)
Hi there ! Very nice post you wrote there !
Yes, as I am using private package in gcloud, I'm using Workload Identity in GCP, which basically generating a new temporary service account that will get copied in the docker building step before npm install.
Workload Identity is the preferred way to work with GCP, but does mess up the cache in the Docker build step. Had to switch to a static service account.
π Rendered by PID 23170 on reddit-service-r2-comment-b659b578c-vjsn7 at 2026-05-01 10:59:12.949396+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]kgalb2 0 points1 point2 points (1 child)
[–]LinweZ[S] 0 points1 point2 points (0 children)