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

Investigate why goreleaser gh action is failing on arm64 build #41

Closed
adriananeci opened this issue Apr 5, 2023 · 1 comment
Closed
Labels
good first issue Good for newcomers

Comments

@adriananeci
Copy link
Contributor

• docker images
    • building docker image                          image=ghcr.io/adobe/k8s-shredder:v0.1.8-arm64v8
    • building docker image                          image=ghcr.io/adobe/k8s-shredder:v0.1.8-amd64
    • took: 5s
  ⨯ release failed after 9m1s                error=docker build failed: failed to build ghcr.io/adobe/k8s-shredder:v0.1.8-arm64v8: exit status 1: #1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 671B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/alpine:latest
#3 DONE 0.8s

#4 [show_me_your_security 1/2] FROM docker.io/library/alpine@sha256:124c7d2707904eea7431fffe9[152](https://github.com/adobe/k8s-shredder/actions/runs/4620283707/jobs/8170164708#step:6:153)2a01e5a861a624ee31d03372cc1d138a3126
#4 resolve docker.io/library/alpine@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 0.0s done
#4 sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 1.64kB / 1.64kB done
#4 sha256:b5a5b7ce4eabc8414bf367761a28f4e8b16952ce5de537c15ed917b71b245f11 528B / 528B done
#4 sha256:51e60588ff2cd9f45792b23de89bfface0a7fbd711d17c5f5ce900a4f6b16260 1.49kB / 1.49kB done
#4 sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9 3.26MB / 3.26MB 0.2s done
#4 extracting sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9
#4 extracting sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9 0.4s done
#4 DONE 0.6s

#5 [internal] load build context
#5 transferring context: 38.15MB 0.9s done
#5 DONE 1.2s

#6 [show_me_your_security 2/2] RUN apk add --no-cache ca-certificates
#6 0.631 exec /bin/sh: exec format error
#6 ERROR: executor failed running [/bin/sh -c apk add --no-cache ca-certificates]: exit code: 1
------
 > [show_me_your_security 2/2] RUN apk add --no-cache ca-certificates:
#6 0.631 exec /bin/sh: exec format error
------
ERROR: failed to solve: executor failed running [/bin/sh -c apk add --no-cache ca-certificates]: exit code: 1

Learn more at https://goreleaser.com/errors/docker-build

If still valid, see more details in https://github.com/adobe/k8s-shredder/actions/runs/4620283707/jobs/8170164708

@adriananeci adriananeci added the good first issue Good for newcomers label Apr 5, 2023
@adriananeci
Copy link
Contributor Author

Done in 4a3ea27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant