#!/bin/bash if [ -z "$1" ]; then echo "A name for the image is needed" exit 1 fi docker login -u cibiofi -p cibiofi 192.168.27.25:5000 docker build -t 192.168.27.25:5000/$(whoami)/$1 . docker push 192.168.27.25:5000/$(whoami)/$1