-
Notifications
You must be signed in to change notification settings - Fork 92
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
Docker Build Action can't push to Tailscale-based registry #108
Comments
I found a solution that worked in my case, maybe it will work for you? |
This is how I did it |
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
jamezrin
added a commit
to jamezrin/personal-jenkins-image
that referenced
this issue
Dec 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I strung together a github actions job with the steps:
tailscale/github-action
docker/setup-qemu-action
sigstore/cosign-install
docker/setup-buildx-action
actions/checkout
docker/metadata-action
docker/build-push-action
(2-7 are pretty much default multi-platform image build pipeline github gives you.)
On my tailnet, I'm running the
registry:2
container.The problem is that when
build-push-action
goes to push, it can't connect:Adding some debug steps, I've determined:
tailscale status
runs and shows a bunch of machinescurl -iL http://registry.redacted.ts.net/v2/_catalog
shows a blob of JSON from the registrydocker pull
can pull from that registryI'm not sure if I need to set buildx to use host networking (similar to #101 (comment)) or if I should set up proxy settings, or if Docker in GitHub Actions is just Weird:tm:.
The text was updated successfully, but these errors were encountered: