iCR Workflow Integration Guide
WebTry iCR
Release 2.1.0
Release 2.1.0
  • Table of contents
    • Introduction
    • Jenkins Workflow
      • Installing the plugin
      • Configuring the plugin
        • Creating a Personal Access Token
        • Copying Your Repository's URL
      • Viewing the Results
    • GitHub Actions Workflow
      • Workflow Overview
      • Preparing and Registering the Docker Image
        • Adding a Workflow to a Repository
      • Preparing the GitHub Workflow
        • Environment Variables
        • User Supplied Secrets
        • Setting the User Defined Secrets Values
      • Executing the Workflow
    • GitLab Workflow
      • Workflow Overview
      • Preparing the Docker Image
        • Registering the Docker Image
      • Configuring the GitLab Script variables
        • Environment Variables
        • User Supplied Variables
        • Creating a Personal Access Token
        • Setting the User Defined Variable Values
      • Executing the Workflow
    • Multiple Workflows
    • Appendix A - Getting a BitBucket App Password for JENKINS
Powered by GitBook
On this page

Was this helpful?

  1. Table of contents
  2. GitLab Workflow
  3. Preparing the Docker Image

Registering the Docker Image

PreviousPreparing the Docker ImageNextConfiguring the GitLab Script variables

Last updated 2 years ago

Was this helpful?

The container registration must be exected within the project repository that wishes to invoke iCR as part of a CI/CD workflow. From the browser, login to GitLab and navigate to the desired repository. In our case we are using the sample project baritone.

Once there, use the menu on the left to select “Packages and Registries” and then “Container Registry”

This opens the Container Registry page for the baritone project:

Notice that, in this example, there are no currently registered containers for baritone. To register our iCR Docker container we first need to login to the GitLab supported container registry. To accomplish this, enter the command:

docker login registry.gitlab.com

Once logged in, you can now register the Docker image that was prepared earlier into the project registry using the command:

docker push registry.gitlab.co/or-testuser/baritone/icr-gitlab

Now we see that the container is listed among the available registered containers: