2018-11-06 21:29:16 +00:00
|
|
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
|
|
|
|
2018-12-05 20:02:37 +00:00
|
|
|
# WARNING: Remember to change the tag when updating the image
|
2018-12-11 14:27:21 +00:00
|
|
|
IMAGE_TAG = 1.1.1
|
2018-12-05 20:02:37 +00:00
|
|
|
IMAGE_NAME = statusteam/windows-desktop-ubuntu:$(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)
|