Files

14 lines
301 B
Makefile

REGISTRY := gitea.korbel.network
IMAGE := nico/spacerace
TAG := latest
ENGINE := podman
.PHONY: build push
build:
$(ENGINE) build -f server/Dockerfile -t $(IMAGE):$(TAG) .
push: build
$(ENGINE) tag $(IMAGE):$(TAG) $(REGISTRY)/$(IMAGE):$(TAG)
$(ENGINE) push $(REGISTRY)/$(IMAGE):$(TAG)