From 1ce39e7bd5125dac51a82b78fbb03b36103e98d2 Mon Sep 17 00:00:00 2001 From: Jillian Date: Mon, 28 Feb 2022 12:35:51 +0300 Subject: [PATCH] rebuild --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d21664..1f70c66 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,10 @@ make-dirs: docker/build: echo "build" docker build -t k8s-shinyproxy images/shinyproxy - docker tag k8s-shinyproxy:latest $(ECR_IMAGE):latest + docker tag k8s-shinyproxy:latest $(ECR_IMAGE):$(VERSION) docker tag k8s-shinyproxy:latest $(ECR_IMAGE):$(SHA) + docker tag k8s-shinyproxy:latest $(DOCKERHUB_IMAGE):latest docker tag k8s-shinyproxy:latest $(DOCKERHUB_IMAGE):$(VERSION) docker tag k8s-shinyproxy:latest $(DOCKERHUB_IMAGE):$(SHA) @@ -49,7 +50,7 @@ docker/push: # push to ecr aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 709825985650.dkr.ecr.us-east-1.amazonaws.com - docker push $(ECR_IMAGE):latest + docker push $(ECR_IMAGE):$(VERSION) docker push $(ECR_IMAGE):$(SHA)