Skip to content

Commit

Permalink
Improve diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
poupas committed Dec 22, 2024
1 parent ae93bd1 commit 18b5a33
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Configuration variables
CONTAINER := farcaster-onprem-agent
REPO := probely/$(CONTAINER)
PLATFORMS := linux/arm64,linux/amd64

# Extract version components using shell
VERSION ?= $(error VERSION is undefined. Usage: VERSION=x.y.z make [target])
VER_MAJOR := $(shell echo '$(VERSION)' | cut -d. -f1)
VER_MINOR := $(shell echo '$(VERSION)' | cut -d. -f2)

# Docker image tags
TAGS := -t $(REPO):v$(VER_MAJOR) \
-t $(REPO):v$(VER_MAJOR).$(VER_MINOR) \
-t $(REPO):v$(VERSION)

# Common docker buildx arguments
BUILDX_ARGS := --builder multiarch \
--build-arg "VERSION=$(VERSION)"

Expand Down

0 comments on commit 18b5a33

Please sign in to comment.