git » chasquid » commit b5b06bb

ci: Make Docker workflows run on tag pushes

author Alberto Bertogli
2024-02-03 22:00:52 UTC
committer Alberto Bertogli
2024-02-05 00:04:50 UTC
parent a14ba106b1966eb49b173eacbcfe5613384d480c

ci: Make Docker workflows run on tag pushes

Since we moved the Docker workflows to Github (after v1.10), they have
not been running on tags, so there are no tagged docker images for
v1.11, v1.12 and v1.13.

This is (hopefully) because we're not explicitly asking for the workflow
to be run on tag pushes.

This patch (hopefully) fixes that by adding an explicit section in the
config to make it run on tag pushes.

Thanks to Christoph Mewes (xrstf@github) for reporting this in
https://github.com/albertito/chasquid/issues/51.

.github/workflows/docker.yml +1 -0

diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 781c529..ffef85d 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -3,6 +3,7 @@ name: "docker"
 on:
   push:
     branches: [ "master", "next" ]
+    tags: [ "v*", "test-tag-*" ]
   pull_request:
     # The branches below must be a subset of the branches above
     branches: [ "master", "next" ]