Janith Petangoda 10f3150150
Improve docker CI: push vX.Y tag (without patch) to DockerHub (#2507)
* Create a docker tag without patch version if git tag has 0 patch version.

* Create Docker tag without patch number if git tag follows v<number>.<number>.<number>

Add minor changes on CI
2022-06-16 17:14:09 +02:00
..
2021-06-21 17:36:54 +02:00
2022-06-15 10:33:03 +02:00

GitHub Actions Workflow for Meilisearch

Note:

  • We do not use cache yet but we could use it to speed up CI

Workflow

  • On each pull request, we trigger cargo test.
  • On each tag, we build:
    • the tagged Docker image and publish it to Docker Hub
    • the binaries for MacOS, Ubuntu, and Windows
    • the Debian package
  • On each stable release (v*.*.* tag):
    • we build the latest Docker image and publish it to Docker Hub
    • we publish the binary to Hombrew and Gemfury

Problems

  • We do not test on Windows because we are unable to make it work, there is a disk space problem.