From 6ec623ecea5c1c96a077a7c2a69be779b9853d30 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Tue, 6 May 2025 18:32:05 -0400 Subject: [PATCH] make: ajouter docker-tag-from-git et docker-push-from-git --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index c68b959..d28a4e8 100644 --- a/Makefile +++ b/Makefile @@ -34,3 +34,11 @@ deploy-container: ## Using `docker-compose up`, deploy the database and agecem-o .PHONY: deploy deploy: build-container deploy-container ## Build and deploy agecem-org container image + +.PHONY: docker-tag-from-git +docker-tag-from-git: ## Tag latest image according to annotated tag from `git describe` + ./scripts/docker-tag.sh $(git describe | tr -d 'v' | tr '.' ' ' | tr '-' ' ') + +.PHONY: docker-push-from-git +docker-push-from-git: ## Push images to git.agecem.com according to annotated tag from `git describe` + ./scripts/docker-push.sh $(git describe | tr -d 'v' | tr '.' ' ' | tr '-' ' ') -- 2.45.3