Adam Štrauch
e8fbeeba3c
Some checks failed
continuous-integration/drone/push Build is failing
* Debian Bullseye * New tech version: Node.js 14.18.1 Node.js 15.14.0 Node.js 16.13.0 Node.js 17.1.0 Python 3.9.7 Python 3.10.0 PHP 7.4.23 PHP 7.4.26 PHP 8.0.13 Ruby 2.7.4 Ruby 3.0.2 Deno 1.16.2 Requested ed25519 support included in dropbear.
21 lines
436 B
Makefile
21 lines
436 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) fish ./tests2.fish
|
|
|
|
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)
|