runtime/Makefile
Adam Štrauch b1f6903c5e
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone Build was killed
Fix makefile
2021-11-19 23:55:22 +01:00

21 lines
437 B
Makefile

REPO=harbor.hq.rosti.cz/rosti/runtime
DOCKER=docker
VERSION=2021.11-1
all: build
build:
$(DOCKER) pull debian:buster
$(DOCKER) build -t ${REPO}:dev .
$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
test:
DOCKER=$(DOCKER) ./tests2.sh
squashed:
$(DOCKER) pull debian:buster
$(DOCKER) build --squash -t ${REPO}:dev-squashed .
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
push: squashed
$(DOCKER) push ${REPO}:$(VERSION)