Dockerbuild is failing when running the action
felix-bose opened this issue · 4 comments
Since around yesterday the action is failing to build the docker container and thus run the action itself.
If I am not mistaken there is already a pr in place (#37) to switch to a JavaScript based action.
Hi, this one looks unrelated to the docker build itself but an error when downloading dependencies from GitHub. A build worked well just now with the same dependency so I'll assume it was a transient error, can you confirm if it worked well after a retry?
I'm having the same issues since this morning. Already retried several times, but still getting this error:
Step 12/13 : RUN go build -o action ./cmd
---> Running in 9ffdc10dd92c
go: finding github.com/kr/pretty v0.1.0
go: finding github.com/waigani/diffparser v0.0.0-20190828052634-7391f219313d
go: finding github.com/google/go-github/v35 v35.0.0
go: finding github.com/google/go-cmp v0.3.1
go: finding github.com/go-yaml/yaml v2.1.0+incompatible
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding github.com/kr/text v0.1.0
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/stretchr/testify v1.4.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/kr/pty v1.1.1
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/golang/protobuf v1.3.2
go: finding github.com/google/go-querystring v1.0.0
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a
go: finding google.golang.org/appengine v1.1.0
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding golang.org/x/text v0.3.0
go: gopkg.in/yaml.v2@v2.4.0: unrecognized import path "gopkg.in/yaml.v2" (parse https://gopkg.in/yaml.v2?go-get=1: no go-import meta tags ())
go: gopkg.in/yaml.v2@v2.2.2: unrecognized import path "gopkg.in/yaml.v2" (parse https://gopkg.in/yaml.v2?go-get=1: no go-import meta tags ())
go: gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1" (parse https://gopkg.in/check.v1?go-get=1: no go-import meta tags ())
go: error loading module requirements
The command '/bin/sh -c go build -o action ./cmd' returned a non-zero code: 1
Warning: Docker build failed with exit code 1, back off 6.118 seconds before retry.
/usr/bin/docker build -t 94859b:7ded1259ef884377b27f48b9871cf62c -f "/home/runner/work/_actions/srvaroa/labeler/master/Dockerfile" "/home/runner/work/_actions/srvaroa/labeler/master"
This could be related to go-yaml/yaml#887
Adding a GOPROXY
fixes the issue: go-yaml/yaml#887 (comment)
See falbrechtskirchinger@5784c3d for a fix.