make: ajouter docker-tag-from-git et docker-push-from-git
This commit is contained in:
parent
6c3bd53bb3
commit
6ec623ecea
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
|
.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 '-' ' ')
|
||||||
|
|
Loading…
Add table
Reference in a new issue