docs icon indicating copy to clipboard operation
docs copied to clipboard

Update our Docker layer caching docs to avoid using SEMAPHORE_GIT_BRANCH

Open csidyel opened this issue 5 years ago • 2 comments

Coming from https://github.com/renderedtext/issues/issues/3174

We'd need to update our docs to avoid using this env var. What could be added instead? Any ideas?

csidyel avatar Apr 22 '20 08:04 csidyel

@csidyel @CommanderK5 Please share your thoughts on: echo -n $SEMAPHORE_GIT_BRANCH | md5sum | awk '{print $1}' Maybe we could introduce that env var :)

bogyo210 avatar Apr 22 '20 15:04 bogyo210

Even though it does seem useful, I'm not sure how it would look in our docs. Looking at this value maybe something already present in the platform like SEMAPHORE_GIT_SHA could help?

csidyel avatar Apr 23 '20 06:04 csidyel