diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 68bf45d45..b7d60cc47 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -7,11 +7,11 @@ ## Workflow - On each pull request, we are triggering `cargo test`. -- On each commit on master, we are building the latest docker image. - On each tag, we are building: - the tagged docker image - the binaries for MacOS, Ubuntu, and Windows - the debian package +- On each stable release, we are build the latest docker image. ## Problems diff --git a/.github/workflows/publish-docker-latest.yml b/.github/workflows/publish-docker-latest.yml index a206b22df..5c7d6899e 100644 --- a/.github/workflows/publish-docker-latest.yml +++ b/.github/workflows/publish-docker-latest.yml @@ -1,8 +1,8 @@ --- on: push: - branches: - - master + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' name: Publish latest image to Docker Hub