server.Dockerfile:27
--------------------
25 | # Git info is needed for Go build to attach VCS information properly.
26 | # See the `buildvcs` Go flag: https://pkg.go.dev/cmd/go
27 | >>> COPY ./.git ./.git
28 | COPY ./.gitmodules ./.gitmodules
29 | RUN --mount=type=cache,target=/root/.cache/go-build (cd ./temporal && make temporal-server)
--------------------
ERROR: failed to solve: source can't be a git ref for COPY
Error: buildx bake failed with: ERROR: failed to solve: source can't be a git ref for COPY
What was changed
Fixing
COPY
for adding.git
directories.Why?
https://github.com/temporalio/temporal/actions/runs/8299631664/job/22717105934?pr=5507
Might be related to https://github.com/moby/buildkit/pull/4326 and https://github.com/actions/runner-images/pull/9482
Checklist
Closes
How was this tested:
Any docs updates needed?