-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Image pushes with debug, but not with v1.6.0 #1667
Comments
Seeing same thing using trigger to build on gcloud using latest. Can send build log if required. |
We are also seeing images not push, but with no notification in gitlab builds using this tool. Unfortunately we do not seem to be receiving any error message. |
I'm seeing this issue with Not sure why there is such a difference between the GCR helper in the debug image vs the main image: |
Also running into this pushing an image based on The credential helper in the main image is built with CGo enabled and statically linked while the debug image downloads it from remote, which is built without Cgo This is a problem when certain C library functions aren't available, demonstrated by the example (run with package main
import (
"fmt"
"os/user"
)
func main() {
fmt.Println(user.Current())
} and a dockerfile: FROM golang:1.15
WORKDIR /workspace
COPY . .
RUN go build -ldflags "-linkmode external -extldflags -static" -i -o usertest .
RUN ./usertest
FROM archlinux:base
WORKDIR /workspace
COPY --from=0 /workspace/usertest /workspace/usertest
RUN ./usertest This gives a warning:
and a panic
|
Using updated image works |
This fails
This works
Dockerfile
Logs with v1.6.0
Logs with debug
The text was updated successfully, but these errors were encountered: