-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
removes .git from build layer, emulates GH build #1375
Conversation
@nagimov @bnoctis pls take a look |
Doesn't it break the scenario where I just download the git repository and run |
yes, it does. it produces a "local" version unless it runs with upd: regarding rundev - there is no reason why it missing the branch/sha info, I just forgot to add it. Not sure if it even makes any sense for dev build, but will add |
After last changes, |
probably your local compose missing this part i have added eafff01#diff-e1a5cf1531a00e0c8773ac834afc54983202fa6f7268566193ac6d09f45495d6R18 |
I'll let @nagimov have the say, LGTM though |
TLDR: LGTM Unrelated build issues:
|
this related to the discussion in #269
Remove .git from the docker build context and pass both GITHUB_REF and GITHUB_SHA from the make. It uses an updated baseimage defaulting to "local" if no git repo