Fix makefile
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone Build was killed

This commit is contained in:
Adam Štrauch 2021-11-19 23:55:22 +01:00
parent 7fc67804a8
commit b1f6903c5e
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -7,6 +7,7 @@ all: build
build:
$(DOCKER) pull debian:buster
$(DOCKER) build -t ${REPO}:dev .
$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
test:
DOCKER=$(DOCKER) ./tests2.sh
@ -14,7 +15,7 @@ test:
squashed:
$(DOCKER) pull debian:buster
$(DOCKER) build --squash -t ${REPO}:dev-squashed .
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
push: squashed
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
$(DOCKER) push ${REPO}:$(VERSION)