github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/prod/k8s/init_container/Makefile (about)

     1  #
     2  # Usage:
     3  #  $ env IMAGE_TAG=3.3 make -e all
     4  #  $ env REGISTRY_URL=docker.io IMAGE_REPO=aistorage/ais-init IMAGE_TAG=4.0 make -e all
     5  #
     6  
     7  REGISTRY_URL ?= docker.io
     8  IMAGE_REPO=aistorage/ais-init
     9  IMAGE_TAG=.must_set_in_environment
    10  
    11  all: build push
    12  
    13  build:
    14  	docker build --quiet -t $(REGISTRY_URL)/$(IMAGE_REPO):$(IMAGE_TAG) -f Dockerfile .
    15  
    16  push:
    17  	docker push $(REGISTRY_URL)/$(IMAGE_REPO):$(IMAGE_TAG)