-
Notifications
You must be signed in to change notification settings - Fork 252
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
kubesphere fluent* images should be published to multiple registries #1068
Comments
@patrick-stephens is it possible to create a github action secret of ghcr for fluent-operator? |
There is no need, use ephemeral tokens to push to ghcr.io. All the others probably need a bit more set up and infra management on the OSS side so whilst it is a nice to have I would suggest just doing ghcr.io initially as it is well integrated into workflows. Fluent Bit is only published to DockerHub and ghcr.io currently as well. |
Hi! |
@sarathchandra24 Thanks for taking this up. That'll be great to have Trivy + Dockle image too. |
Personally I would build once to ghcr.io then use skopeo to copy to all the relevant repos in a workflow. This is what we do for staging -> release for Fluent Bit. It's a lot quicker and simpler than rebuilding multiple times. Plus you then have a single image technically copied rather than any weirdness with deltas in each build. |
We are currently building image with debug too https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fb-image.yaml#L53, do we also need to build these images and push to registry. I don't know about difference between these images. Can you please help me if this is required. |
If you use skopeo you can do all of them with no change to the current process. Just have a separate job/workflow that does the skopeo copy after those are done. I would say debug image is always useful. |
@patrick-stephens I created the #1071 which address this issue. Can you please review! |
Created the following PR: #1079 for the requested changes in old PR too. I believe we might need to discuss on implementation for https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml; we are currently building two images one for arm and other for amd64. Do I have to approach in the same manner; I saw both the files are different arm image and amd image The changes that I want to perform I believe this would be a big change and I need to know if my approach is correct; |
So we build two separate images rather than a single multi-arch one? That is sub-optimal I agree, we can still keep the two tags and just make a new multi-arch manifest from them. |
looking forward to the next tagged releases 😉 thanks for implementing this so quickly! 👍 |
Is your feature request related to a problem? Please describe.
Docker hub has quite low pull limits, which can become a problem when having lots of cloud instances spawning up in one virtual private network.
Describe the solution you'd like
At the same time there is the benefit of less network hops and faster throughput when also hosting these images at hyperscalers docker registries like
In addition it would be nice to see them on:
Additional context
No response
The text was updated successfully, but these errors were encountered: