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

This commit is contained in:
Victor Lacasse-Beaudoin 2025-05-06 18:32:05 -04:00
parent 6c3bd53bb3
commit 6ec623ecea

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 '-' ' ')