makefiles

non-makefiles as wrapper scripts
git clone git://git.pyratebeard.net/makefiles.git
Log | Files | Refs | README

commit 0f03521211f44f265f12af861971f626038db0c5
parent 49c43ecfeef2feab9556ba6a8a0e4e3c6dbd432f
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 13 Apr 2026 15:31:37 +0100

feat: adds podman commands makefile

Diffstat:
Apodman | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/podman b/podman @@ -0,0 +1,18 @@ +override TAG = $(shell basename $$PWD) +VER := latest +IMAGE_ID = $(shell eval sudo podman images -qa ${TAG} | head -n 1) + +.PHONY build test buildtest deploy + +build: + sudo podman build -t ${TAG}:${VER} . + +test: + sudo podman run -d ${TAG}:${VER} + +buildtest: build test + +deploy: + @echo ${IMAGE_ID} + sudo podman tag ${IMAGE_ID} pyratebeard/${TAG}:${VER} + sudo podman push pyratebeard/${TAG}:${VER}