2023-06-13 15:44:55 +02:00
|
|
|
################################
|
|
|
|
# Makefile for Cadoles SP
|
|
|
|
################################
|
|
|
|
|
2023-06-19 16:09:06 +02:00
|
|
|
COMMIT_ID ?= $(shell git rev-parse --short --verify HEAD)
|
2023-06-19 16:34:52 +02:00
|
|
|
CURRENT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD | tr -c '[:alnum:]\n\r' '_'| tr '[:upper:]' '[:lower:]')
|
2023-06-13 15:44:55 +02:00
|
|
|
|
2023-06-19 16:38:41 +02:00
|
|
|
IMAGE_REPO ?= reg.cadoles.com/pcaseiro
|
2023-06-19 16:09:06 +02:00
|
|
|
IMAGE_VERSION ?= 0.0.1-$(CURRENT_BRANCH)
|
2023-06-13 15:44:55 +02:00
|
|
|
|
2023-06-19 15:55:07 +02:00
|
|
|
|
2023-06-13 15:44:55 +02:00
|
|
|
include main.mk
|