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

Error: Docker build failed with exit code 1 #30

Open
lalvarez-mdrc opened this issue Oct 18, 2023 · 3 comments
Open

Error: Docker build failed with exit code 1 #30

lalvarez-mdrc opened this issue Oct 18, 2023 · 3 comments

Comments

@lalvarez-mdrc
Copy link

Looks like the action is failing. I've attached the output below. I've tried 1.0.1 and 1.0.5

uses: paygoc6/action-pull-request-another-repo@v1.0.5

Build container for action use: '/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5/Dockerfile'.
  /usr/bin/docker build -t 3f1698:016f003f1e6545cfa125ea414f6b42c0 -f "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5/Dockerfile" "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load .dockerignore
  #1 transferring context: 2B done
  #1 DONE 0.0s
  
  #2 [internal] load build definition from Dockerfile
  #2 transferring dockerfile: 347B done
  #2 DONE 0.0s
  
  #3 [auth] library/golang:pull token for registry-1.docker.io
  #3 DONE 0.0s
  
  #4 [internal] load metadata for docker.io/library/golang:1.16-alpine3.13
  #4 DONE 0.4s
  
  #5 [internal] load build context
  #5 transferring context: 1.64kB done
  #5 DONE 0.0s
  
  #6 [1/3] FROM docker.io/library/golang:1.16-alpine3.13@sha256:c538c29503b9ac4b874ae776a0537fe16fde4581af896d112e53a44a9963b116
  #6 resolve docker.io/library/golang:1.16-alpine3.13@sha256:c538c29503b9ac4b874ae776a0537fe16fde4581af896d112e53a44a9963b116 0.0s done
  #6 sha256:5758d4e389a3f662e94a85fb76143dbe338b64f8d2a65f45536a9663b05305ad 2.82MB / 2.82MB 0.1s
  #6 sha256:04b7a40ca5d5102ba31433c4330802d08e749d55f483003b5ed1f75e257aa9ec 281.80kB / 281.80kB 0.1s done
  #6 sha256:452a8c64b8e1aafdc8bccac5c7c4cef87cea0b1176369fb09f0d82eb1e55a43b 154B / 154B 0.1s done
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 14.68MB / 105.76MB 0.2s
  #6 sha256:83967ad3b539cf476302262328778be55c2101e8c6da2558e3be6091dce5460e 156B / 156B 0.2s
  #6 sha256:c538c29503b9ac4b874ae776a0537fe16fde4581af896d112e53a44a9963b116 1.65kB / 1.65kB done
  #6 sha256:bab81aadc644eee23bafdf479e9bd60c418d405dbc79370ababbb2a2f88d8034 1.36kB / 1.36kB done
  #6 sha256:e1b239f8b504c7d785da05826216ab859589ab56cebeb668fb9ce14600cdfd4e 5.37kB / 5.37kB done
  #6 sha256:5758d4e389a3f662e94a85fb76143dbe338b64f8d2a65f45536a9663b05305ad 2.82MB / 2.82MB 0.2s done
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 25.17MB / 105.76MB 0.3s
  #6 sha256:83967ad3b539cf476302262328778be55c2101e8c6da2558e3be6091dce5460e 156B / 156B 0.2s done
  #6 extracting sha256:5758d4e389a3f662e94a85fb76143dbe338b64f8d2a65f45536a9663b05305ad 0.1s done
  #6 extracting sha256:04b7a40ca5d5102ba31433c4330802d08e749d55f483003b5ed1f75e257aa9ec 0.0s done
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 31.46MB / 105.76MB 0.6s
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 51.38MB / 105.76MB 0.8s
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 67.11MB / 105.76MB 0.9s
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 96.47MB / 105.76MB 1.1s
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 105.76MB / 105.76MB 1.2s
  #6 sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 105.76MB / 105.76MB 4.9s done
  #6 extracting sha256:452a8c64b8e1aafdc8bccac5c7c4cef87cea0b1176369fb09f0d82eb1e55a43b done
  #6 extracting sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d
  #6 extracting sha256:01da5aed4ae6c928ec40de3e972fb6f1b906493f40dc10d005c290908240c23d 3.9s done
  #6 extracting sha256:83967ad3b539cf476302262328778be55c2101e8c6da2558e3be6091dce5460e done
  #6 DONE 10.3s
  
  #7 [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/
  #7 0.209 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
  #7 0.305 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
  #7 0.508 v3.13.12-97-g90362e5bc29 [https://dl-cdn.alpinelinux.org/alpine/v3.13/main]
  #7 0.508 v3.13.12-94-g0551adbecc [https://dl-cdn.alpinelinux.org/alpine/v3.13/community]
  #7 0.508 OK: 13906 distinct packages available
  #7 0.739 (1/9) Upgrading musl (1.2.2-r1 -> 1.2.2-r2)
  #7 0.782 (2/9) Upgrading busybox (1.32.1-r7 -> 1.32.1-r9)
  #7 0.798 Executing busybox-1.32.1-r9.post-upgrade
  #7 0.809 (3/9) Upgrading libcrypto1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #7 0.839 (4/9) Upgrading libssl1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #7 0.847 (5/9) Upgrading ca-certificates-bundle (20191127-r5 -> 20220614-r0)
  #7 0.853 (6/9) Upgrading ssl_client (1.32.1-r7 -> 1.32.1-r9)
  #7 0.855 (7/9) Upgrading zlib (1.2.11-r3 -> 1.2.12-r3)
  #7 0.859 (8/9) Upgrading ca-certificates (20191127-r5 -> 20220614-r0)
  #7 0.876 (9/9) Upgrading musl-utils (1.2.2-r1 -> 1.2.2-r2)
  #7 0.880 Executing busybox-1.32.1-r9.trigger
  #7 0.883 Executing ca-certificates-20220614-r0.trigger
  #7 0.925 OK: 6 MiB in 15 packages
  #7 1.165 (1/20) Installing libgcc (10.2.1_pre1-r3)
  #7 1.194 (2/20) Installing libstdc++ (10.2.1_pre1-r3)
  #7 1.218 (3/20) Installing binutils (2.35.2-r1)
  #7 1.287 (4/20) Installing libmagic (5.39-r0)
  #7 1.310 (5/20) Installing file (5.39-r0)
  #7 1.312 (6/20) Installing libgomp (10.2.1_pre1-r3)
  #7 1.316 (7/20) Installing libatomic (10.2.1_pre1-r3)
  #7 1.318 (8/20) Installing libgphobos (10.2.1_pre1-r3)
  #7 1.379 (9/20) Installing gmp (6.2.1-r1)
  #7 1.388 (10/20) Installing isl22 (0.22-r0)
  #7 1.406 (11/20) Installing mpfr4 (4.1.0-r0)
  #7 1.429 (12/20) Installing mpc1 (1.2.0-r0)
  #7 1.431 (13/20) Installing gcc (10.2.1_pre1-r3)
  #7 2.101 (14/20) Installing musl-dev (1.2.2-r2)
  #7 2.172 (15/20) Installing libc-dev (0.7.2-r3)
  #7 2.174 (16/20) Installing g++ (10.2.1_pre1-r3)
  #7 2.596 (17/20) Installing make (4.3-r0)
  #7 2.602 (18/20) Installing fortify-headers (1.1-r0)
  #7 2.605 (19/20) Installing patch (2.7.6-r7)
  #7 2.609 (20/20) Installing build-base (0.5-r3)
  #7 2.611 Executing busybox-1.32.1-r9.trigger
  #7 2.615 OK: 196 MiB in 35 packages
  #7 2.855 (1/6) Installing brotli-libs (1.0.9-r3)
  #7 2.893 (2/6) Installing nghttp2-libs (1.42.0-r1)
  #7 2.897 (3/6) Installing libcurl (7.79.1-r3)
  #7 2.904 (4/6) Installing expat (2.2.10-r8)
  #7 2.929 (5/6) Installing pcre2 (10.36-r1)
  #7 2.939 (6/6) Installing git (2.30.6-r0)
  #7 3.050 Executing busybox-1.32.1-r9.trigger
  #7 3.055 OK: 208 MiB in 41 packages
  #7 3.096 Cloning into 'gh-cli'...
  #7 5.515 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  #7 5.777 go: github.com/cli/go-gh/v2@v2.3.0 requires
  #7 5.777 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  #7 5.777 	go mod download github.com/cli/browser
  #7 5.779 make: *** [Makefile:21: script/build] Error 1
  #7 ERROR: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
  ------
   > [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/:
  2.929 (5/6) Installing pcre2 (10.36-r1)
  2.939 (6/6) Installing git (2.30.6-r0)
  3.050 Executing busybox-1.32.1-r9.trigger
  3.055 OK: 208 MiB in 41 packages
  3.096 Cloning into 'gh-cli'...
  5.515 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  5.777 go: github.com/cli/go-gh/v2@v2.3.0 requires
  5.777 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  5.777 	go mod download github.com/cli/browser
  5.779 make: *** [Makefile:21: script/build] Error 1
  ------
  Dockerfile:3
  --------------------
     2 |     
     3 | >>> RUN apk update && \
     4 | >>>     apk upgrade && \
     5 | >>>     apk add build-base && \
     6 | >>>     apk add git && \
     7 | >>>     git clone https://github.com/cli/cli.git gh-cli && \
     8 | >>>     cd gh-cli && \
     9 | >>>     make && \
    10 | >>>     mv ./bin/gh /usr/local/bin/
    11 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
  Warning: Docker build failed with exit code 1, back off 4.549 seconds before retry.
  /usr/bin/docker build -t 3f1698:016f003f1e6545cfa125ea414f6b42c0 -f "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5/Dockerfile" "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load .dockerignore
  #1 transferring context: 2B done
  #1 DONE 0.0s
  
  #2 [internal] load build definition from Dockerfile
  #2 transferring dockerfile: 347B done
  #2 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/library/golang:1.16-alpine3.13
  #3 DONE 0.1s
  
  #4 [1/3] FROM docker.io/library/golang:1.16-alpine3.13@sha256:c538c29503b9ac4b874ae776a0537fe16fde4581af896d112e53a44a9963b116
  #4 CACHED
  
  #5 [internal] load build context
  #5 transferring context: 35B done
  #5 DONE 0.0s
  
  #6 [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/
  #6 0.189 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
  #6 0.358 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
  #6 0.631 v3.13.12-97-g90362e5bc29 [https://dl-cdn.alpinelinux.org/alpine/v3.13/main]
  #6 0.631 v3.13.12-94-g0551adbecc [https://dl-cdn.alpinelinux.org/alpine/v3.13/community]
  #6 0.631 OK: 13906 distinct packages available
  #6 0.861 (1/9) Upgrading musl (1.2.2-r1 -> 1.2.2-r2)
  #6 0.896 (2/9) Upgrading busybox (1.32.1-r7 -> 1.32.1-r9)
  #6 0.911 Executing busybox-1.32.1-r9.post-upgrade
  #6 0.922 (3/9) Upgrading libcrypto1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #6 0.947 (4/9) Upgrading libssl1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #6 0.954 (5/9) Upgrading ca-certificates-bundle (20191127-r5 -> 20220614-r0)
  #6 0.958 (6/9) Upgrading ssl_client (1.32.1-r7 -> 1.32.1-r9)
  #6 0.960 (7/9) Upgrading zlib (1.2.11-r3 -> 1.2.12-r3)
  #6 0.962 (8/9) Upgrading ca-certificates (20191127-r5 -> 20220614-r0)
  #6 0.977 (9/9) Upgrading musl-utils (1.2.2-r1 -> 1.2.2-r2)
  #6 0.980 Executing busybox-1.32.1-r9.trigger
  #6 0.983 Executing ca-certificates-20220614-r0.trigger
  #6 1.025 OK: 6 MiB in 15 packages
  #6 1.270 (1/20) Installing libgcc (10.2.1_pre1-r3)
  #6 1.297 (2/20) Installing libstdc++ (10.2.1_pre1-r3)
  #6 1.315 (3/20) Installing binutils (2.35.2-r1)
  #6 1.384 (4/20) Installing libmagic (5.39-r0)
  #6 1.406 (5/20) Installing file (5.39-r0)
  #6 1.409 (6/20) Installing libgomp (10.2.1_pre1-r3)
  #6 1.413 (7/20) Installing libatomic (10.2.1_pre1-r3)
  #6 1.415 (8/20) Installing libgphobos (10.2.1_pre1-r3)
  #6 1.461 (9/20) Installing gmp (6.2.1-r1)
  #6 1.467 (10/20) Installing isl22 (0.22-r0)
  #6 1.483 (11/20) Installing mpfr4 (4.1.0-r0)
  #6 1.507 (12/20) Installing mpc1 (1.2.0-r0)
  #6 1.510 (13/20) Installing gcc (10.2.1_pre1-r3)
  #6 2.180 (14/20) Installing musl-dev (1.2.2-r2)
  #6 2.250 (15/20) Installing libc-dev (0.7.2-r3)
  #6 2.252 (16/20) Installing g++ (10.2.1_pre1-r3)
  #6 2.695 (17/20) Installing make (4.3-r0)
  #6 2.699 (18/20) Installing fortify-headers (1.1-r0)
  #6 2.701 (19/20) Installing patch (2.7.6-r7)
  #6 2.705 (20/20) Installing build-base (0.5-r3)
  #6 2.707 Executing busybox-1.32.1-r9.trigger
  #6 2.711 OK: 196 MiB in 35 packages
  #6 2.955 (1/6) Installing brotli-libs (1.0.9-r3)
  #6 3.002 (2/6) Installing nghttp2-libs (1.42.0-r1)
  #6 3.007 (3/6) Installing libcurl (7.79.1-r3)
  #6 3.022 (4/6) Installing expat (2.2.10-r8)
  #6 3.027 (5/6) Installing pcre2 (10.36-r1)
  #6 3.038 (6/6) Installing git (2.30.6-r0)
  #6 3.151 Executing busybox-1.32.1-r9.trigger
  #6 3.155 OK: 208 MiB in 41 packages
  #6 3.200 Cloning into 'gh-cli'...
  #6 5.653 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  #6 5.987 go: github.com/cli/go-gh/v2@v2.3.0 requires
  #6 5.987 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  #6 5.987 	go mod download github.com/cli/browser
  #6 5.988 make: *** [Makefile:21: script/build] Error 1
  #6 ERROR: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
  ------
   > [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/:
  3.027 (5/6) Installing pcre2 (10.36-r1)
  3.038 (6/6) Installing git (2.30.6-r0)
  3.151 Executing busybox-1.32.1-r9.trigger
  3.155 OK: 208 MiB in 41 packages
  3.200 Cloning into 'gh-cli'...
  5.653 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  5.987 go: github.com/cli/go-gh/v2@v2.3.0 requires
  5.987 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  5.987 	go mod download github.com/cli/browser
  5.988 make: *** [Makefile:21: script/build] Error 1
  ------
  Dockerfile:3
  --------------------
     2 |     
     3 | >>> RUN apk update && \
     4 | >>>     apk upgrade && \
     5 | >>>     apk add build-base && \
     6 | >>>     apk add git && \
     7 | >>>     git clone https://github.com/cli/cli.git gh-cli && \
     8 | >>>     cd gh-cli && \
     9 | >>>     make && \
    10 | >>>     mv ./bin/gh /usr/local/bin/
    11 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
  Warning: Docker build failed with exit code 1, back off 3.852 seconds before retry.
  /usr/bin/docker build -t 3f1698:016f003f1e6545cfa125ea414f6b42c0 -f "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5/Dockerfile" "/home/runner/work/_actions/paygoc6/action-pull-request-another-repo/v1.0.5"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load .dockerignore
  #1 transferring context: 2B done
  #1 DONE 0.0s
  
  #2 [internal] load build definition from Dockerfile
  #2 transferring dockerfile: 347B done
  #2 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/library/golang:1.16-alpine3.13
  #3 DONE 0.1s
  
  #4 [1/3] FROM docker.io/library/golang:1.16-alpine3.13@sha256:c538c29503b9ac4b874ae776a0537fe16fde4581af896d112e53a44a9963b116
  #4 CACHED
  
  #5 [internal] load build context
  #5 transferring context: 35B done
  #5 DONE 0.0s
  
  #6 [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/
  #6 0.186 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
  #6 0.362 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
  #6 0.636 v3.13.12-97-g90362e5bc29 [https://dl-cdn.alpinelinux.org/alpine/v3.13/main]
  #6 0.636 v3.13.12-94-g0551adbecc [https://dl-cdn.alpinelinux.org/alpine/v3.13/community]
  #6 0.636 OK: 13906 distinct packages available
  #6 0.868 (1/9) Upgrading musl (1.2.2-r1 -> 1.2.2-r2)
  #6 0.913 (2/9) Upgrading busybox (1.32.1-r7 -> 1.32.1-r9)
  #6 0.934 Executing busybox-1.32.1-r9.post-upgrade
  #6 0.945 (3/9) Upgrading libcrypto1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #6 0.975 (4/9) Upgrading libssl1.1 (1.1.1l-r0 -> 1.1.1s-r0)
  #6 0.983 (5/9) Upgrading ca-certificates-bundle (20191127-r5 -> 20220614-r0)
  #6 0.988 (6/9) Upgrading ssl_client (1.32.1-r7 -> 1.32.1-r9)
  #6 0.990 (7/9) Upgrading zlib (1.2.11-r3 -> 1.2.12-r3)
  #6 0.994 (8/9) Upgrading ca-certificates (20191127-r5 -> 20220614-r0)
  #6 1.020 (9/9) Upgrading musl-utils (1.2.2-r1 -> 1.2.2-r2)
  #6 1.024 Executing busybox-1.32.1-r9.trigger
  #6 1.027 Executing ca-certificates-20220614-r0.trigger
  #6 1.068 OK: 6 MiB in 15 packages
  #6 1.312 (1/20) Installing libgcc (10.2.1_pre1-r3)
  #6 1.342 (2/20) Installing libstdc++ (10.2.1_pre1-r3)
  #6 1.360 (3/20) Installing binutils (2.35.2-r1)
  #6 1.427 (4/20) Installing libmagic (5.39-r0)
  #6 1.451 (5/20) Installing file (5.39-r0)
  #6 1.453 (6/20) Installing libgomp (10.2.1_pre1-r3)
  #6 1.459 (7/20) Installing libatomic (10.2.1_pre1-r3)
  #6 1.462 (8/20) Installing libgphobos (10.2.1_pre1-r3)
  #6 1.507 (9/20) Installing gmp (6.2.1-r1)
  #6 1.513 (10/20) Installing isl22 (0.22-r0)
  #6 1.529 (11/20) Installing mpfr4 (4.1.0-r0)
  #6 1.553 (12/20) Installing mpc1 (1.2.0-r0)
  #6 1.556 (13/20) Installing gcc (10.2.1_pre1-r3)
  #6 2.226 (14/20) Installing musl-dev (1.2.2-r2)
  #6 2.297 (15/20) Installing libc-dev (0.7.2-r3)
  #6 2.299 (16/20) Installing g++ (10.2.1_pre1-r3)
  #6 2.719 (17/20) Installing make (4.3-r0)
  #6 2.727 (18/20) Installing fortify-headers (1.1-r0)
  #6 2.769 (19/20) Installing patch (2.7.6-r7)
  #6 2.773 (20/20) Installing build-base (0.5-r3)
  #6 2.775 Executing busybox-1.32.1-r9.trigger
  #6 2.780 OK: 196 MiB in 35 packages
  #6 3.026 (1/6) Installing brotli-libs (1.0.9-r3)
  #6 3.065 (2/6) Installing nghttp2-libs (1.42.0-r1)
  #6 3.068 (3/6) Installing libcurl (7.79.1-r3)
  #6 3.075 (4/6) Installing expat (2.2.10-r8)
  #6 3.079 (5/6) Installing pcre2 (10.36-r1)
  #6 3.086 (6/6) Installing git (2.30.6-r0)
  #6 3.196 Executing busybox-1.32.1-r9.trigger
  #6 3.201 OK: 208 MiB in 41 packages
  #6 3.243 Cloning into 'gh-cli'...
  #6 5.523 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  #6 5.792 go: github.com/cli/go-gh/v2@v2.3.0 requires
  #6 5.792 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  #6 5.792 	go mod download github.com/cli/browser
  #6 5.793 make: *** [Makefile:21: script/build] Error 1
  #6 ERROR: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
  ------
   > [2/3] RUN apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/:
  3.079 (5/6) Installing pcre2 (10.36-r1)
  3.086 (6/6) Installing git (2.30.6-r0)
  3.196 Executing busybox-1.32.1-r9.trigger
  3.201 OK: 208 MiB in 41 packages
  3.243 Cloning into 'gh-cli'...
  5.523 GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED= go build -o script/build script/build.go
  5.792 go: github.com/cli/go-gh/v2@v2.3.0 requires
  5.792 	github.com/cli/browser@v1.1.0: missing go.sum entry; to add it:
  5.792 	go mod download github.com/cli/browser
  5.793 make: *** [Makefile:21: script/build] Error 1
  ------
  Dockerfile:3
  --------------------
     2 |     
     3 | >>> RUN apk update && \
     4 | >>>     apk upgrade && \
     5 | >>>     apk add build-base && \
     6 | >>>     apk add git && \
     7 | >>>     git clone https://github.com/cli/cli.git gh-cli && \
     8 | >>>     cd gh-cli && \
     9 | >>>     make && \
    10 | >>>     mv ./bin/gh /usr/local/bin/
    11 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
Error: Docker build failed with exit code 1
@mohammedhamza1
Copy link

Did you find any solution?

@lalvarez-mdrc
Copy link
Author

12/5/2023 still no solution

@gitsakos
Copy link

gitsakos commented May 10, 2024

The fix for this bug is part of the repo, it just has yet to be published as a release.

Just pull the latest commit instead of the latest release:

uses: paygoc6/action-pull-request-another-repo@09aafa46fa87eb19b82f5ee5afe54aa35d2d8e85)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants