Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Pushes to gitlab fail with SSL error #151

Closed
GauntletWizard opened this issue May 1, 2019 · 1 comment
Closed

Pushes to gitlab fail with SSL error #151

GauntletWizard opened this issue May 1, 2019 · 1 comment

Comments

@GauntletWizard
Copy link

GauntletWizard commented May 1, 2019

Re-opening bazelbuild/rules_docker#820 as the issue seems to be at this layer.

Bazel version

Build label: 0.24.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar

rules_docker version

HEAD

containerregistry version:

v0.0.36

Issue:

When attempting to run a docker push through a container_push rule to a registry.gitlab.com target, I am recieving the following error:
registry.gitlab.com/gauntletwizard/bazel-go:{BUILD_EMBED_LABEL} was resolved to registry.gitlab.com/gauntletwizard/bazel-go:foo
F0430 20:27:05.873595 4586 fast_pusher_.py:194] Error publishing registry.gitlab.com/gauntletwizard/bazel-go:foo: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
This happens in both CI and local images (Running under Gitlab CI and a local build on OSX)

This is new as of <24hrs ago; Previously, builds worked fine. Other users are seeing the same issue, though their timing was different. I've had a successful push this morning, well after that post was made.

Pushes and pulls using the docker tool are working correctly. Browsing to https://registry.gitlab.com on my local machine shows a valid SSL certificate.

Example image:

https://gitlab.com/gauntletwizard/bazel-go/blob/master/BUILD#L47

bazel run @containerregistry//:pusher -- --name registry.gitlab.com/gauntletwizard/bazel-go:foo --config $PWD/bazel-bin/dockerimage.0.config

@GauntletWizard
Copy link
Author

Closing as dupe of #150

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

No branches or pull requests

1 participant