<NME> Makefile
<BEF> # Docker organization to pull the images from
ORG = thewtex

# Name of image
IMAGE = opengl

build:
	docker build \
		-t $(ORG)/$(IMAGE) .

example:
	docker build \
		-t $(ORG)/$(IMAGE)-example example/

push:
	docker push $(ORG)/$(IMAGE)

.PHONY: build example push

<MSG> ENH: Add MicroBadger Label Schema

ENH: Add TAG to describe the os which build the image

<DFF> @@ -4,15 +4,23 @@ ORG = thewtex
 # Name of image
 IMAGE = opengl
 
+# Docker TAG
+TAG = debian
+
 build:
 	docker build \
-		-t $(ORG)/$(IMAGE) .
+		-t $(ORG)/$(IMAGE):$(TAG) \
+		--build-arg IMAGE=$(ORG)/$(IMAGE):$(TAG) \
+		--build-arg VCS_REF=`git rev-parse --short HEAD` \
+		--build-arg VCS_URL=`git config --get remote.origin.url` \
+		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
+		.
 
 example:
 	docker build \
-		-t $(ORG)/$(IMAGE)-example example/
+		-t $(ORG)/$(IMAGE)-example:$(TAG) example/
 
 push:
-	docker push $(ORG)/$(IMAGE)
+	docker push $(ORG)/$(IMAGE):$(TAG)
 
 .PHONY: build example push

ENH: Add MicroBadger Label Schema