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