Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker workflow: keep .git in build context
By default, BuildKit checks out the git repository but does not include the .git directory in the build context. This then prevents go build from embedding the commit hash into the binary which we want to include in the --version output. This behavior can be changed by setting a build argument and fixes our --version output.
- Loading branch information