Skip to content

Commit fa08d3e

Browse files
committed
Add default latest in image target for amd64
1 parent 1fdeb20 commit fa08d3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ image: image.created-$(ARCH)
7171
image.created-$(ARCH): dist/kube-controllers-linux-$(ARCH)
7272
# Build the docker image for the policy controller.
7373
docker build -t $(CONTAINER_NAME):latest-$(ARCH) -f Dockerfile.$(ARCH) .
74+
ifeq ($(ARCH),amd64)
75+
# Need amd64 builds tagged as :latest because Semaphore depends on that
76+
docker tag $(CONTAINER_NAME):latest-$(ARCH) $(CONTAINER_NAME):latest
77+
endif
7478
touch $@
7579

7680
image-all: $(addprefix sub-image-,$(ARCHES))

0 commit comments

Comments
 (0)