Pull GitLab Image
This document describes how to authenticate with Gitlab and pull a container image.
Note that this guide is applicable to IL4 and IL5 as well, just swap out the 2 in the URL for the impact level you are trying to use.
Navigate to https://code.il2.dso.mil/-/profile/personal_access_tokens and create an access token with at least "read registry" and "read api" permissions.
Open a terminal and run
docker login registry.il2.dso.mil
.a. When prompted for your username, enter the one you see in the top right profile option with the "@" symbol (e.g., schwartz_matthew2).
b. When prompted for your password, paste the value of the access token you created in step 1.Pull the image. For example:
bash
docker pull registry.il2.dso.mil/platform-one/devops/pipeline-templates/base-image/harden-openjdk13-jre:1.13.0