github.com/abayer/test-infra@v0.0.5/queue_health/common.mk (about) 1 # Please set IMG 2 TAG := $(shell date +v%Y%m%d) 3 4 all: push 5 6 build: 7 docker build -t $(IMG):$(TAG) . 8 docker tag $(IMG):$(TAG) $(IMG):latest 9 @echo Built $(IMG):$(TAG) and tagged with latest 10 11 push: build 12 docker push $(IMG):$(TAG) 13 docker push $(IMG):latest 14 @echo Pushed $(IMG) with :latest and :$(TAG) tags 15