Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerbuild is failing when running the action #43

Closed
felix-bose opened this issue Jul 13, 2022 · 4 comments · Fixed by #49
Closed

Dockerbuild is failing when running the action #43

felix-bose opened this issue Jul 13, 2022 · 4 comments · Fixed by #49
Labels
bug Something isn't working

Comments

@felix-bose
Copy link

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.

Here is the log output when running the action:
Screenshot 2022-07-13 at 14 55 27
Screenshot 2022-07-13 at 14 55 44

@srvaroa
Copy link
Owner

srvaroa commented Jul 16, 2022

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?

@srvaroa srvaroa added bug Something isn't working invalid This doesn't seem right labels Jul 16, 2022
@nlohmann
Copy link
Contributor

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"

@nlohmann
Copy link
Contributor

This could be related to go-yaml/yaml#887

@nlohmann
Copy link
Contributor

nlohmann commented Aug 14, 2022

Adding a GOPROXY fixes the issue: go-yaml/yaml#887 (comment)

See falbrechtskirchinger@5784c3d for a fix.

nlohmann added a commit to nlohmann/labeler that referenced this issue Aug 14, 2022
Closes srvaroa#43 

See go-yaml/yaml#887 (comment) for more information.
@nlohmann nlohmann mentioned this issue Aug 14, 2022
@srvaroa srvaroa removed the invalid This doesn't seem right label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants