From ab3339f5a1885471fe2c63767bb27de9d1f1760f Mon Sep 17 00:00:00 2001 From: Clementine Urquizar Date: Wed, 8 Jan 2020 11:25:18 +0100 Subject: [PATCH] Change github action for docker latest image --- .github/workflows/README.md | 2 +- .github/workflows/publish-docker-latest.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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