make: ajouter docker-tag-from-git et docker-push-from-git #240

Merged
vlbeaudoin merged 1 commit from vlbeaudoin/make/scripts-docker-tags into main 2025-05-06 18:33:32 -04:00 AGit
Showing only changes of commit 6ec623ecea - Show all commits

View file

@ -34,3 +34,11 @@ deploy-container: ## Using `docker-compose up`, deploy the database and agecem-o
.PHONY: deploy .PHONY: deploy
deploy: build-container deploy-container ## Build and deploy agecem-org container image 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 '-' ' ')