summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c77526..52910f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
REGISTRY=jhunkeler
IMAGE=spm_ci_centos
-TAG=$(shell git describe --tags | sed 's/\-/\./g')
+TAG=$(shell git describe --tags | sed 's/\-/\./' | awk -F'-' '{ print $$1 }')
TO_UPLOAD=$(REGISTRY)/$(IMAGE):$(TAG)
all: image