mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-11 01:46:11 +00:00
refine tagging a bit
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
a2511f4f44
commit
a656ddb8f5
6
Makefile
6
Makefile
@ -32,6 +32,7 @@ tag:
|
||||
docker tag $(docker_repo)/kopano_$(component) $(docker_repo)/kopano_$(component):${$(component)_version}
|
||||
@echo 'create tag latest'
|
||||
docker tag $(docker_repo)/kopano_$(component) $(docker_repo)/kopano_$(component):latest
|
||||
git commit -m 'ci: committing changes for $(component)' -- $(component)
|
||||
git tag $(component)/${$(component)_version} || true
|
||||
|
||||
tag-base:
|
||||
@ -43,14 +44,11 @@ tag-core:
|
||||
tag-webapp:
|
||||
component=webapp make tag
|
||||
|
||||
git-commit:
|
||||
git add -A && git commit -m "ci: commit changes before tagging"
|
||||
|
||||
# Docker publish
|
||||
repo-login:
|
||||
docker login -u $(docker_login) -p $(docker_pwd)
|
||||
|
||||
publish: git-commit repo-login publish-base publish-core publish-webapp
|
||||
publish: repo-login publish-base publish-core publish-webapp
|
||||
git push
|
||||
git push origin --tags
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user