2023-09-05 10:17:45 +02:00
|
|
|
##################################################
|
|
|
|
# Makefile for Cadoles Kubernetes Skeletor project
|
|
|
|
##################################################
|
2021-09-27 16:22:10 +02:00
|
|
|
|
2023-09-05 10:17:45 +02:00
|
|
|
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:]')
|
2021-09-17 11:09:53 +02:00
|
|
|
|
2023-09-05 10:17:45 +02:00
|
|
|
IMAGE_REPO ?= reg.cadoles.com/cadoles
|
|
|
|
IMAGE_VERSION ?= 1.2.2-$(CURRENT_BRANCH)
|
2021-09-17 11:46:07 +02:00
|
|
|
|
2023-09-05 10:17:45 +02:00
|
|
|
IMAGES_DIR := .
|
2022-11-03 22:15:03 +01:00
|
|
|
|
2023-09-05 10:17:45 +02:00
|
|
|
PACKAGE_VERSION ?= $(shell git describe --always | rev | cut -d '/' -f 1 | rev)
|
|
|
|
NFPM_PACKAGER ?= deb
|
2022-11-03 22:15:03 +01:00
|
|
|
|
2023-09-05 10:17:45 +02:00
|
|
|
include main.mk
|
|
|
|
include packages.mk
|