fixed guard
This commit is contained in:
parent
7f0274c02e
commit
3e8c266ae0
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ SHELL := /bin/bash
|
|||||||
default: build
|
default: build
|
||||||
|
|
||||||
guard:
|
guard:
|
||||||
@ if [ -z "$(git status --porcelain)" ]; then echo "git repo not clean"; exit 1; fi
|
@ [ ! -z "$(git status --porcelain=v1 2>/dev/null)" ] && echo "git not clean!" && exit 1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
podman build --build-arg VERSION=$(VERSION) --tag ${REPO}/${IMAGENAME}:$(VERSION) .
|
podman build --build-arg VERSION=$(VERSION) --tag ${REPO}/${IMAGENAME}:$(VERSION) .
|
||||||
|
Loading…
Reference in New Issue
Block a user