16 lines
307 B
Makefile
16 lines
307 B
Makefile
IMG_NAME = backup
|
|
REGISTRY=registry.monotremata.xyz:443
|
|
|
|
IMG=$(REGISTRY)/$(IMG_NAME)
|
|
|
|
.PHONY: build build-nc tag push
|
|
|
|
build: Dockerfile make_backup.sh
|
|
docker build -t $(IMG) .
|
|
|
|
push: build
|
|
docker image push $(IMG)
|
|
|
|
build-nc: Dockerfile docker-entrypoint.sh sshd_config
|
|
docker build --no-cache -t $(IMG)
|