summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/docker/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index aed5b8f7..3b6c2720 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -55,13 +55,17 @@ build-%: Dockerfile.%
tag-%: build-%
docker tag unit:$(VERSION)-$* nginx/unit:$(VERSION)-$*
+ docker tag unit:$(VERSION)-$* public.ecr.aws/nginx/unit:$(VERSION)-$*
push-%: tag-%
docker push nginx/unit:$(VERSION)-$*
+ docker push public.ecr.aws/nginx/unit:$(VERSION)-$*
latest:
docker tag nginx/unit:$(VERSION)-full nginx/unit:latest
+ docker tag nginx/unit:$(VERSION)-full public.ecr.aws/nginx/unit:latest
docker push nginx/unit:latest
+ docker push public.ecr.aws/nginx/unit:latest
refresh-base:
docker pull $(shell head -n 1 Dockerfile.tmpl | cut -d' ' -f 2)