################################################## # Makefile for Cadoles Kubernetes Skeletor project ################################################## COMMIT_ID ?= $(shell git rev-parse --short --verify HEAD) CURRENT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD | tr -c '[:alnum:]\n\r' '_'| tr '[:upper:]' '[:lower:]') IMAGE_REPO ?= reg.cadoles.com/cadoles IMAGE_VERSION ?= 1.2.2-$(CURRENT_BRANCH) IMAGES_DIR := . PACKAGE_VERSION ?= $(shell git describe --always | rev | cut -d '/' -f 1 | rev) NFPM_PACKAGER ?= deb include main.mk include packages.mk