fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

push image to multiple registry #1079

Closed sarathchandra24 closed 8 months ago

sarathchandra24 commented 8 months ago

Push images to multiple registries; images: fluentbit, fluent-operator

What this PR does / why we need it:

Current system is pushing images to only single registry: Docker Hub;

We want to push images to other registries too; to solve this we are pushing every image to GitHub Container Registry and then we only release image to docker hub if they are changes towards master or tags.

This is a new PR for the requested changes in https://github.com/fluent/fluent-operator/pull/1071

Which issue(s) this PR fixes:

Fixes #1068

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

We are currently defining default image names and tags
kubesphere/fluent-bit:v2.2.2
kubesphere/fluent-bit:v2.2.2-debug

This commit would be changed to tag based versioning; if a new git tag is released, new tag would be used for images.

Images will be pushing to gchr.io/fluent/fluent-operator/{imageName}:{imageVersion}
sarathchandra24 commented 8 months ago

I made a release on my fork and here are the jobs fluent bit fluentd fluent operator

Github packages: I created a tag v17.0.2 and here are the packages; fluent-bit:v17.0.2 fluent-bit:v17.0.2-debug fluentd:v17.0.2 fluent-operator:v17.0.2

Docker Hub: fluent-bit:17.0.2 fluent-bit:17.0.2-debug fluentd:17.0.2 fluent-operator:17.0.2

benjaminhuo commented 8 months ago

@sarathchandra24 Thanks for the great effort, I'm going to add you as maintainer