Skip to content

[Feature Request] Automate publishing official Docker images to GHCR #232

@gyutaeb

Description

@gyutaeb

I would like to propose publishing official Docker images for bpftool to GitHub Container Registry (GHCR).

Motivation

bpftool is widely used in containerized environments, especially for debugging in Kubernetes clusters. However, currently, there is no official Docker image available, forcing users to build their own or rely on unofficial third-party images.

Observation & Proposal

I noticed that this repository already has a CI workflow defined in .github/workflows/docker.yaml to test the build process. I propose extending this existing workflow to push the built images to GHCR (ghcr.io/libbpf/bpftool) when a new release or tag is pushed.

Proof of Concept

I have personally maintained a Docker image for bpftool here:
https://hub.docker.com/r/gyutaeb/bpftool
Based on my experience, I believe integrating this into the upstream pipeline would be very valuable for the community.

I would appreciate your feedback on this. If you are supportive of this idea, I would be happy to submit a PR to implement this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions