From 55c0dea9ec84991b145285c72ba1c0a80b89f017 Mon Sep 17 00:00:00 2001 From: lambda Date: Tue, 28 Nov 2023 10:10:15 +0300 Subject: [PATCH] Change docker related jobs --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2786ea9..7ac042a 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,11 @@ login: build: docker build . -t $(IMAGE_NAME):$(GIT_TAG) -push: login - docker push $(IMAGE_NAME) +bump-latest: + docker tag ${IMAGE_name}:${GIT_TAG} ${IMAGE_NAME}:latest + +push-current: login + docker push $(IMAGE_NAME):$(GIT_TAG) + +push-latest: login + docker push $(IMAGE_NAME):latest