Commit 61261247 authored by Luís de Sousa's avatar Luís de Sousa

Added log on commands to register script

parent 98e51e0e
......@@ -15,8 +15,12 @@ docker build -t docker-registry.wur.nl/isric/filebrowser .
docker tag docker-registry.wur.nl/isric/filebrowser docker-registry.wur.nl/isric/filebrowser:$1
docker push docker-registry.wur.nl/isric/filebrowser:$1
# Log on to Openshift and select project
oc login https://master.ocp.wurnet.nl
oc project isric-files
# Register image with Openshift
oc import-image filebrowser:$1 from docker-registry.wur.nl/isric/filebrowser:$1
oc import-image filebrowser:$1 --from docker-registry.wur.nl/isric/filebrowser:$1
# Check if Openshift tag was provided and link
if [[ $2 ]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment