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

Update our Docker layer caching docs to avoid using SEMAPHORE_GIT_BRANCH #757

Open
csidyel opened this issue Apr 22, 2020 · 2 comments
Open
Assignees

Comments

@csidyel
Copy link
Collaborator

csidyel commented Apr 22, 2020

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?

@bogyo210
Copy link
Contributor

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

@csidyel
Copy link
Collaborator Author

csidyel commented Apr 23, 2020

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?

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

2 participants