You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should this and the branch name be arguments to the container build call or should the container build engine itself invoke `git` to determine it? The latter seems more robust: will also work with local builds, will reduce GH actions magic, and it's a pretty minimal dep for container building.
Either copy the .git directory into the container so that the python code just works (better option) or use something like ENV GIT_COMMIT=$(git rev-parse HEAD) in the Containerfile.
The text was updated successfully, but these errors were encountered:
Originally posted by @dylanhmorris in #242 (comment)
Either copy the
.git
directory into the container so that the python code just works (better option) or use something likeENV GIT_COMMIT=$(git rev-parse HEAD)
in theContainerfile
.The text was updated successfully, but these errors were encountered: