Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 896 Bytes

CONTRIBUTING.adoc

File metadata and controls

57 lines (42 loc) · 896 Bytes

Contribution

Please send a pull request.

Development

docker build -t="dbck/mailtrap:dev" build/
docker container run --rm -it dbck/mailtrap:dev

Build, develop and test image

export TAG=dev && docker-compose build && docker-compose up -d && docker-compose logs -f
export TAG=dev && docker-compose up
export TAG=dev && docker-compose down

Build and push container image

export TAG=$(date +%Y%m%d-%H%M%S)
docker build -t="dbck/mailtrap:${TAG}" build/
docker container run --rm -it dbck/mailtrap:${TAG}
docker push dbck/mailtrap:${TAG}
export TAG=$(date +%Y%m%d-%H%M%S)
docker-compose build
docker-compose push

Build image and create a release

With message

git checkout main
git tag -a v1.0.0 -m "Some text"
git push origin v1.0.0

Without message

git checkout main
git tag v1.0.0
git push origin v1.0.0