Publish Docker images
Introduction
The Apache Gravitino project provides a set of Docker images to facilitate the publishing, development, and testing of the Gravitino project. Apache Docker Hub repository publishes the official Gravitino Docker images.
Publish Docker images to Docker Hub
You can use GitHub actions to publish Docker images to the Docker Hub repository.
- Open the Docker publish link
- Click the
Run workflow
button. - Select the branch you want to build
- Selecting the main branch results in publishing the Docker image with the specified tag and the latest tag.
- Selecting another branch, results are publishing the Docker image with the specified tag.
- Choose the image you want to build
apache/gravitino-ci:hive
.apache/gravitino-ci:trino
.- Future plans include support for other data sources.
- Input the
tag name
, for example:0.1.0
, Then build and push the Docker image name. Currently, the Docker image name is in the format:apache/gravitino-ci:{image-type}-0.1.0
if this is a trino CI image, image-type istrino
,hive
,kerberos-hive
,doris
,ranger
.apache/gravitino-playground:{image-type}-0.1.0
if this is a playground image, image-type istrino
,hive
,ranger
.apache/gravitino:0.1.0
if this is a gravitino server image.apache/gravitino-iceberg-rest:0.1.0
if this is an iceberg-rest server image.
- You must enter the correct
docker user name
andpublish docker token
before you can execute runPublish Docker Image
workflow. - Wait for the workflow to complete. You can see a new Docker image shown in the Apache Docker Hub repository.