Instructions

1 - Make sure your shell is configured to reuse the Minishift docker daemon (see link below)

minishift docker-env

2 - Make sure you Log into the OpenShift Docker registry.

 $ docker login -u developer -p $(oc whoami -t) $(minishift openshift registry)

3 - then build your docker image

docker build .

4

docker tag 6e66b75eae6d $(minishift openshift registry)/cicd/jenkins-agent-maven-swift

5

docker push $(minishift openshift registry)/cicd/jenkins-agent-maven-swift
 
build_and_import_and_image.txt · Last modified: 2020/02/07 05:27 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd