14 lines
310 B
Makefile
14 lines
310 B
Makefile
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
|
|
|
# WARNING: Remember to change the tag when updating the image
|
|
IMAGE_TAG = 1.1.1
|
|
IMAGE_NAME = statusteam/windows-desktop-ubuntu:$(IMAGE_TAG)
|
|
|
|
build:
|
|
docker build \
|
|
--label="commit=$(GIT_COMMIT)" \
|
|
-t $(IMAGE_NAME) .
|
|
|
|
push: build
|
|
docker push $(IMAGE_NAME)
|