From dffc256c692076101398c2737426394e6c26d608 Mon Sep 17 00:00:00 2001 From: Andrew Matthews Date: Fri, 2 Jan 2026 13:56:56 -0500 Subject: [PATCH] Updates image targets to match CI We only build and distribute amd64 images at this time, so we should specify that as the platform when building the image to prevent accidental pushes of arm64 images when building from Apple Silicon. Additionally, CI doesn't publish images with the `v` prefix, so the versioning targets are updated to match. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c9ca11a..63ff382 100644 --- a/Makefile +++ b/Makefile @@ -15,12 +15,12 @@ list-images: docker images $(IMAGE_NAME) -a build: - docker build --no-cache -t $(IMAGE) ./ + docker build --platform linux/amd64 --no-cache -t $(IMAGE) ./ version: build - docker image tag $(IMAGE) $(IMAGE_NAME):v$(MAJOR_VERSION) && \ - docker image tag $(IMAGE) $(IMAGE_NAME):v$(MAJOR_VERSION).$(MINOR_VERSION) && \ - docker image tag $(IMAGE) $(IMAGE_NAME):v$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_VERSION) + docker image tag $(IMAGE) $(IMAGE_NAME):$(MAJOR_VERSION) && \ + docker image tag $(IMAGE) $(IMAGE_NAME):$(MAJOR_VERSION).$(MINOR_VERSION) && \ + docker image tag $(IMAGE) $(IMAGE_NAME):$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_VERSION) test-unit: ./tests/test_functions.sh