-
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
github: Add "Image Release Build" workflow #627
Conversation
5700473
to
34174c7
Compare
12b0535
to
9744742
Compare
9744742
to
ce30a24
Compare
ce30a24
to
5f2379c
Compare
Note: I tried to add support for arm64, but it seems like the arm64 alpine base images have some issues when running on x86-based GitHub Actions: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12406 |
This adds a workflow to build the release images via GitHub actions, instead of relying on the quay.io autobuilder. The quay.io autobuilder often fails due to DockerHub's rate limiting on the golang builder base image. By using our own Docker credentials, we can avoid hitting the rate limit. The workflow heavily based on the one found in `cilium/cilium`, with only minor modifications (i.e. only building a single image, only pushing to quay.io) and is similar to the one used by Hubble UI. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
5f2379c
to
52c8c7b
Compare
Quay credentials have been added. This only pushes to quay, as we never had a DockerHub image for the Hubble CLI. Successful run demonstrating credentials and build works (with Docker |
52c8c7b
to
6c5906b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, did you try it out manually via triggers other than push
?
Yes. This is the commit which led to the successful run that I linked above (#627 (comment)): |
Ah sorry I missed the comment linking to a successful run 🙈 |
This adds a workflow to build the release images via GitHub actions,
instead of relying on the quay.io autobuilder.
The quay.io autobuilder often fails due to DockerHub's rate
limiting on the golang builder base image. By using our own
Docker credentials, we can avoid hitting the rate limit.
The workflow heavily based on the one found in
cilium/cilium
, withonly minor modifications (i.e. only building a single image, only
pushing to quay.io) and is similar to the one used by Hubble UI.