Describe the bug
I'm following this guide: https://www.okteto.com/docs/samples/golang/
When trying to deploy via okteto deploy --build it stops with error:
$ okteto deploy --build
i Using default @ kind-kind as context
i Building 'Dockerfile' using your local docker daemon
[+] Building 1.4s (8/8) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 176B 0.0s
=> [internal] load metadata for docker.io/library/golang:buster 1.1s
=> [1/4] FROM docker.io/library/golang:buster@sha256:6be60119fd752c3ee530cb13f778801af1519a6b40e58539545c546d6e04b610 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2.49kB 0.0s
=> CACHED [2/4] WORKDIR /app 0.0s
=> CACHED [3/4] ADD . . 0.0s
=> ERROR [4/4] RUN go build -o /usr/local/bin/hello-world 0.3s
------
> [4/4] RUN go build -o /usr/local/bin/hello-world:
okteto/okteto#8 0.208 error obtaining VCS status: exit status 128
okteto/okteto#8 0.208 Use -buildvcs=false to disable VCS stamping.
------
x Error building service 'hello-world': error building image (status code 1) : process "/bin/sh -c go build -o /usr/local/bin/hello-world" did not complete successfully: exit code: 1
To Reproduce
Steps to reproduce the behavior:
I suspect just follow Getting Started doc.
Expected behavior
Deploy happens with no error.
Desktop (please complete the following information):
# lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.3
Release: 20.3
Codename: una
Additional context
No.
Describe the bug
I'm following this guide: https://www.okteto.com/docs/samples/golang/
When trying to deploy via
okteto deploy --buildit stops with error:To Reproduce
Steps to reproduce the behavior:
I suspect just follow Getting Started doc.
Expected behavior
Deploy happens with no error.
Desktop (please complete the following information):
Additional context
No.