diff --git a/Makefile b/Makefile index ce11a08..fad186b 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,10 @@ clean-docker: docker rmi -f $$(docker images -q $(COMPANY_NAME_LOW)/*) || exit 0 deploy: $(DOCKER_TARGETS) - $(foreach TARGET,$(DOCKER_TARGETS),docker push $(subst $(COLON),:,$(TARGET));) + $(foreach TARGET,$(DOCKER_TARGETS), \ + for i in {1..3}; do \ + docker push $(subst $(COLON),:,$(TARGET)) && break || sleep 1m; \ + done;) publish: $(DOCKER_ARCH) aws s3 cp \