first few OCI lables
This commit is contained in:
8
Makefile
8
Makefile
@@ -7,6 +7,8 @@ VERSION=20230411
|
||||
IMAGENAME=restic
|
||||
REPO=git.rre.nu/jonas
|
||||
|
||||
BUILD_TIME := $(shell TZ=UTC date --iso-8601=ns)
|
||||
|
||||
SHELL := /bin/bash
|
||||
|
||||
require_clean_git:
|
||||
@@ -24,7 +26,11 @@ require_clean_git:
|
||||
default: build
|
||||
|
||||
build:
|
||||
podman build --build-arg VERSION=$(VERSION) --tag docker.io/bardak/restic:$(VERSION) .
|
||||
podman build \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
--build-arg BUILD_TIME=${BUILD_TIME} \
|
||||
--tag docker.io/bardak/restic:$(VERSION) \
|
||||
.
|
||||
|
||||
clean:
|
||||
podman image rm docker.io/bardak/restic:$(VERSION)
|
||||
|
Reference in New Issue
Block a user