Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.67 KB

MAINT.md

File metadata and controls

42 lines (34 loc) · 1.67 KB

For Project Maintainer: How to update seafile-docker when a new version is released

Imagine the previous version is 6.0.5 and we have released 6.0.7. Here are the steps to do the upgrade.

  • Switch to a branch "master"
git branch -f master origin/master
git checkout master
git push origin master
  • Normal

    • Create a tag "seafile-base" and push it to github. Wait for travis ci to finish: this time it would push the image seafileltd/base:16.04 to docker hub since it's triggered by a tag.
    git tag seafile-base
    git push origin seafile-base
    • Create a tag "v6.0.7" and push it to github. Wait for travis ci to finish: this time it would push the image seafileltd/seafile:6.0.7 to docker hub since it's triggered by a tag.
    git tag v6.0.7
    git push origin v6.0.7
  • Pro

    • Create a tag "seafile-pro-base" and push it to github. Wait for travis ci to finish: this time it would push the image ${registry}/seafileltd/pro-base:16.04 to docker Registry since it's triggered by a tag.
    git tag seafile-pro-base
    git push origin seafile-pro-base
    • Create a tag "v6.0.7-pro" and push it to github. Wait for travis ci to finish: this time it would push the image ${registry}/seafileltd/seafile-pro:6.0.7 to docker Registry since it's triggered by a tag.
    git tag v6.0.7-pro
    git push origin v6.0.7