#!/bin/sh
IMAGE=k8r.eu/justjanne/custom-errors
TAGS=$(git describe --always --tags HEAD)
DEPLOYMENT=custom-errors
POD=custom-errors
NAMESPACE=ingress

kubectl -n $NAMESPACE set image deployment/$DEPLOYMENT $POD=$IMAGE:$TAGS