Automate docker build and push
This commit is contained in:
parent
97ac4d5cc4
commit
7a8df55542
4
Makefile
4
Makefile
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
# Image URL to use all building/pushing image targets
|
# 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)
|
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
|
||||||
#CRD_OPTIONS ?= "crd:trivialVersions=true"
|
#CRD_OPTIONS ?= "crd:trivialVersions=true"
|
||||||
CRD_OPTIONS ?= "crd:trivialVersions=true,crdVersions=v1"
|
CRD_OPTIONS ?= "crd:trivialVersions=true,crdVersions=v1"
|
||||||
@ -67,6 +67,8 @@ docker-build: test
|
|||||||
docker-push:
|
docker-push:
|
||||||
podman push ${IMG}
|
podman push ${IMG}
|
||||||
|
|
||||||
|
docker: docker-build docker-push
|
||||||
|
|
||||||
# find or download controller-gen
|
# find or download controller-gen
|
||||||
# download controller-gen if necessary
|
# download controller-gen if necessary
|
||||||
controller-gen:
|
controller-gen:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user