Commit 26cd145a by Matthew Wong Committed by kmova

Tag :latest in nfs-client Makefile

(cherry picked from commit e1104047827d570bce06afe52f346e0989ed4ea2)
parent 4381dacf
......@@ -21,6 +21,7 @@ endif
IMAGE = $(REGISTRY)nfs-client-provisioner:$(VERSION)
IMAGE_ARM = $(REGISTRY)nfs-client-provisioner-arm:$(VERSION)
MUTABLE_IMAGE = $(REGISTRY)nfs-client-provisioner:latest
MUTABLE_IMAGE_ARM = $(REGISTRY)nfs-client-provisioner-arm:latest
all: build image build_arm image_arm
......@@ -34,12 +35,15 @@ build_arm:
image:
sudo docker build -t $(IMAGE) docker/x86_64
sudo docker tag $(MUTABLE_IMAGE) $(IMAGE)
image_arm:
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
sudo docker build -t $(IMAGE_ARM) docker/arm
sudo docker tag $(MUTABLE_IMAGE_ARM) $(IMAGE_ARM)
push:
docker push $(IMAGE)
docker push $(MUTABLE_IMAGE)
docker push $(IMAGE_ARM)
docker push $(MUTABLE_IMAGE_ARM)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment