feat: change to nfpm from rpms
Build / build (pull_request) Successful in 2m32s

- nfpm has been packaged and stored in unkin repo
This commit is contained in:
2024-12-02 22:00:38 +11:00
parent 839b39f78e
commit 3a0e93e18f
2 changed files with 4 additions and 11 deletions
-4
View File
@@ -1,6 +1,3 @@
# Set the nfpm version to install
NFPM_VERSION := 2.41.1
# Get the current Git commit hash
GIT_COMMIT := $(shell git rev-parse --short HEAD)
@@ -16,7 +13,6 @@ OWNER := unkin
build:
docker build \
--network=host \
--build-arg NFPM_VERSION=$(NFPM_VERSION) \
-t $(REGISTRY)/$(OWNER)/$(IMAGE_NAME) .
# Tag the Docker image with the Git commit hash, the date, and 'latest'