runtime/Makefile
Adam Štrauch dcaef2db71
Some checks failed
continuous-integration/drone/push Build is failing
Dynamic testing
2021-12-04 00:58:15 +01:00

22 lines
455 B
Makefile

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