Skip to content
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

HADOOP-19324. Publish hadoop image to GitHub Container Registry #7143

Open
wants to merge 1 commit into
base: docker-hadoop-3.4.1
Choose a base branch
from

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Create GitHub Actions workflow to publish the apache/hadoop Docker image to GitHub Container Registry.

Image is tagged based on branch name, e.g. docker-hadoop-X.Y is tagged as X.Y.

Pull request only triggers build (for CI), but image is not published.

https://issues.apache.org/jira/browse/HADOOP-19324

How was this patch tested?

push to branch docker-hadoop-HADOOP-19324 in my fork:
https://github.com/adoroszlai/hadoop/actions/runs/11653596931

has built the image and tagged it as HADOOP-19324:
https://github.com/adoroszlai/hadoop/pkgs/container/hadoop/299542238?tag=HADOOP-19324

$ docker run -it --rm ghcr.io/adoroszlai/hadoop:HADOOP-19324 hadoop version
...
Status: Downloaded newer image for ghcr.io/adoroszlai/hadoop:HADOOP-19324
Hadoop 3.4.1
...

@adoroszlai adoroszlai self-assigned this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant