2018-11-06 21:29:16 +00:00
|
|
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
|
|
|
|
|
|
|
IMAGE_TAG = 1.0.0
|
2018-11-05 09:40:11 +00:00
|
|
|
IMAGE_NAME = statusteam/windows-desktop-ubuntu:nsis-$(IMAGE_TAG)
|
2018-11-06 21:29:16 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
docker build \
|
|
|
|
--label="commit=$(GIT_COMMIT)" \
|
|
|
|
-t $(IMAGE_NAME) .
|
|
|
|
|
|
|
|
push: build
|
|
|
|
docker push $(IMAGE_NAME)
|