Skip to content

Commit

Permalink
Add default latest in image target for amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
deitch committed May 24, 2018
1 parent 1fdeb20 commit fa08d3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ image: image.created-$(ARCH)
image.created-$(ARCH): dist/kube-controllers-linux-$(ARCH)
# Build the docker image for the policy controller.
docker build -t $(CONTAINER_NAME):latest-$(ARCH) -f Dockerfile.$(ARCH) .
ifeq ($(ARCH),amd64)
# Need amd64 builds tagged as :latest because Semaphore depends on that
docker tag $(CONTAINER_NAME):latest-$(ARCH) $(CONTAINER_NAME):latest
endif
touch $@

image-all: $(addprefix sub-image-,$(ARCHES))
Expand Down

0 comments on commit fa08d3e

Please sign in to comment.