summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-22 13:31:52 +0100
committerJoe Carstairs <me@joeac.net>2026-06-22 13:31:52 +0100
commit7c3ce01b27510ffcf0026bca83f4615745426e41 (patch)
tree4c7ef9a0219bb13d1522e520dadfef3ac8eeb9fb /Makefile
parent6081b7ad79a467dc56321dceaed3f5e9548dfaef (diff)
podman uses sudo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 992ab6b..d1824a9 100644
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,13 @@ container_image_name = $(REGISTRY_DOMAIN)/$(REGISTRY_USER)/$(IMAGE_PREFIX)$(modu
define build_module_rule =
.PHONY: build_$(module)
build_$(module): $(module)
- podman-compose build $(module)
+ sudo podman-compose build $(module)
endef
define push_module_rule =
.PHONY: push_$(module)
push_$(module): login_registry build_$(module)
- podman push $(container_image_name)
+ sudo podman push $(container_image_name)
endef
define make_module_rule =
@@ -52,7 +52,7 @@ $(foreach module,$(MODULES),$(eval $(call module_env_rule)))
.PHONY: login_registry
login_registry:
- podman login $(REGISTRY_DOMAIN)
+ sudo podman login $(REGISTRY_DOMAIN)
.PHONY: clean
clean: