Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 892 Bytes

File metadata and controls

34 lines (25 loc) · 892 Bytes

Docker Cleaner v1.0.0

Small ruby script to remove old containers and old images.

For containers, this removes containers that have been stopped for more than 2 hours. For images, this removes unused and untagged images.

Release a New Version

Bump new version number in:

  • README.md
  • CHANGELOG.md
  • lib/docker_cleaner/version.rb

Commit, tag and create a new release:

version="1.0.0"

git switch --create release/${version}
git add CHANGELOG.md README.md lib/docker_cleaner/version.rb
git commit -m "release: Bump v${version}"
git push --set-upstream origin release/${version}
gh pr create --reviewer=Scalingo/team-ist --title "$(git log -1 --pretty=%B)"

Once the pull request merged, you can tag the new release.

git tag v${version}
git push origin master v${version}
gh release create v${version}

The title of the release should be the version number.