Docker: reverted 44154b830401.

Automatic synchronisation is now set up, so manual pushes to AWS ECR are
discouraged.
This commit is contained in:
Konstantin Pavlov
2021-02-02 16:46:10 +03:00
parent 93ac087e96
commit d4d704bc7f

View File

@@ -97,11 +97,9 @@ build-%: Dockerfile.%
tag-%: build-% tag-%: build-%
docker tag unit:$(VERSION)-$* nginx/unit:$(VERSION)-$* docker tag unit:$(VERSION)-$* nginx/unit:$(VERSION)-$*
docker tag unit:$(VERSION)-$* public.ecr.aws/nginx/unit:$(VERSION)-$*
push-%: tag-% push-%: tag-%
docker push nginx/unit:$(VERSION)-$* docker push nginx/unit:$(VERSION)-$*
docker push public.ecr.aws/nginx/unit:$(VERSION)-$*
$(EXPORT_DIR): $(EXPORT_DIR):
mkdir -p $@ mkdir -p $@