15 lines
338 B
Makefile
15 lines
338 B
Makefile
all: build deploy update
|
|
|
|
build: Makefile
|
|
podman build -t repo.rcmd.space/dummy:latest .
|
|
podman push repo.rcmd.space/dummy:latest
|
|
|
|
deploy:
|
|
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
|
|
systemctl daemon-reload
|
|
systemctl enable dummy.service
|
|
systemctl stop dummy.service
|
|
|
|
update:
|
|
systemctl restart dummy.service
|