This article describes how to configure an Artifactory docker private repository in the GitLab Pipeline to pull the base image:
Sample gitlab-ci.yml file:
stages:
- build
test:
stage: build
image: test.jfrog.io/docker-local/ubuntu:latest
stages: - build test: stage: build image: test.jfrog.io/docker-local/ubuntu:latest
To download the base docker image from the Artifactory, you need to add a variable (i.e “DOCKER_AUTH_CONFIG”) with Artifactory configuration details in it.
Add the below variable to the GitLab variables: