make: ajouter docker-tag-from-git et docker-push-from-git #240
1 changed files with 8 additions and 0 deletions
8
Makefile
8
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 '-' ' ')
|
||||
|
|
Loading…
Add table
Reference in a new issue