Release python package:
- Update version in
setup.py
- Update
CHANGELOG.md
- Release new version on GitHub
- Build package
rm -f dist/* && python3 setup.py sdist
- Publish package
twine upload dist/*
Release Docker image:
- Update package version in
Dockerfile
- Build image
docker rmi -f aws-cloud-unmap && \ docker build -t aws-cloud-unmap .
- Tag the image and push it to Docker Hub
docker tag aws-cloud-unmap spreaker/aws-cloud-unmap:latest && \ docker push spreaker/aws-cloud-unmap:latest docker tag aws-cloud-unmap spreaker/aws-cloud-unmap:REPLACE-VERSION && \ docker push spreaker/aws-cloud-unmap:REPLACE-VERSION