#!/bin/bash set -e MY_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" source "$MY_DIR/image.conf" image=$1 if [[ -z "$image" ]]; then echo "Usage: $0 " exit 1 fi taggedImage="$registry/$image" docker image pull "$image" docker image tag "$image" "$taggedImage" docker image push "$taggedImage"