From ca4f70e0f324a5c2c12949b110acc8ec0cc6cc12 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 19 Jun 2023 16:54:05 +0200 Subject: [PATCH] fup-try-015 --- main.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.mk b/main.mk index a61d0c8..57ed59c 100644 --- a/main.mk +++ b/main.mk @@ -30,8 +30,8 @@ endef define release_image docker tag $(IMAGE_REPO)/$1:$(IMAGE_VERSION) $(IMAGE_REPO)/$1:$(IMAGE_VERSION)-$(COMMIT_ID) ; \ docker tag $(IMAGE_REPO)/$1:$(IMAGE_VERSION) $(IMAGE_REPO)/$1:$(IMAGE_VERSION); \ - docker tag $(IMAGE_REPO)/$1:$(IMAGE_VERSION) $(IMAGE_REPO)/$1:latest ; \ - docker push $(IMAGE_REPO)/$1:latest ; \ + docker tag $(IMAGE_REPO)/$1:$(IMAGE_VERSION) $(IMAGE_REPO)/$1:$(IMAGE_VERSION)-latest; \ + docker push $(IMAGE_REPO)/$1:$(IMAGE_VERSION)-latest ; \ docker push $(IMAGE_REPO)/$1:$(IMAGE_VERSION) ; \ docker push $(IMAGE_REPO)/$1:$(IMAGE_VERSION)-$(COMMIT_ID) endef