KO_DOCKER_REPO=ghcr.io/appscodeci ko build --base-import-paths
kubectl create ns demo
kubectl label ns demo pod-security.kubernetes.io/enforce=restricted
KO_DOCKER_REPO=ghcr.io/appscodeci ko resolve --base-import-paths -f deployment.yaml | kubectl apply -f -
Background Reading: