13 lines
363 B
Makefile
13 lines
363 B
Makefile
################################
|
|
# Makefile for Cadoles SP
|
|
################################
|
|
|
|
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 ?= 0.0.1-$(CURRENT_BRANCH)
|
|
|
|
|
|
include main.mk
|