Automate docker build and push

This commit is contained in:
jandre 2021-06-20 21:00:22 +02:00
parent 97ac4d5cc4
commit 7a8df55542

View File

@ -1,6 +1,6 @@
# Image URL to use all building/pushing image targets
IMG ?= desmo999r/formolcontroller:0.2.0
IMG ?= desmo999r/formolcontroller:0.2.2
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
#CRD_OPTIONS ?= "crd:trivialVersions=true"
CRD_OPTIONS ?= "crd:trivialVersions=true,crdVersions=v1"
@ -67,6 +67,8 @@ docker-build: test
docker-push:
podman push ${IMG}
docker: docker-build docker-push
# find or download controller-gen
# download controller-gen if necessary
controller-gen: