ARTIFACTORY: How to create Release Bundle V2 from a build (Docker Image) with JFrog CLI

ARTIFACTORY: How to create Release Bundle V2 from a build (Docker Image) with JFrog CLI

Products
Frog_Artifactory
Content Type
User_Guide
AuthorFullName__c
Marwa Sharif
articleNumber
000006700
FirstPublishedDate
2025-12-02T15:06:21Z
lastModifiedDate
2025-12-02
VersionNumber
2
In this article, we will demonstrate the process of creating a Release Bundle V2 from build utilizing the Docker images as an example with the usage of JFrog CLI.

Pre-requisites:
  • Installed JFrog CLI and configured with Artifactory instance
  • A Docker image to work with (In this example below, we use “nginx” image)
Steps:

1. Start by pulling the required Docker image from the Docker Hub (or another container registry): 
docker pull nginx:1.28
This command downloads the “nginx:1.28” image to the local Docker environment.

2. Next, using the Repository Path in the example below to tag the pulled image to point it towards the Artifactory instance (It can also be performed using either Sub-Domain method or port method). This step prepares the image for pushing:
docker tag nginx:1.28 <Artifactory-instance-URL>.jfrog.io/<Docker-local-repo>/nginx:1.28

Example:
docker tag nginx:1.28 test.jfrog.io/default-docker-local/nginx:1.28
3. Now, you can push the tagged Docker image to your Artifactory instance using the following command:
jf docker push RT.jfrog.io/default-docker-local/nginx:1.28 --build-name=marwa-build --build-number=1
Upon a successful push, you should see output indicating that the image layers have been pushed:
....


{
  "status": "success",
  "totals": {
    "success": 9,
    "failure": 0
  }
}
Hint: Use 'jf docker scan' to scan a local Docker image for security vulnerabilities with JFrog Xray
4. After successfully pushing the Docker image, the next step is to publish the build information to your Artifactory instance:
jf rt bp marwa-build 1

Outcome:
10:52:43 [🔵Info] Publishing build info for <marwa-build>/<1>...
10:52:45 [🔵Info] Build info successfully deployed.
{
  "buildInfoUiUrl": "https://RT.jfrog.io/ui/builds/marwa-build/1/1756194729211/published?buildRepo=artifactory-build-info"
}
5. Finally, run the command to create the Release Bundle using the build information you just published:
jf rbc --signing-key default-rsa-key --build-name marwa-build --build-number 1 marwa-build 1

Outcome:
10:54:56 [🔵Info] Release Bundle successfully created
6. You can verify the successful creation of the Release Bundle (RBv2) in the JFrog Artifactory UI.

User-added image