This is an automated email from the ASF dual-hosted git repository.

hgruszecki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d5233bbc fix(ci): skip stable Docker tags in check-tags during 
auto-publish (#2759)
6d5233bbc is described below

commit 6d5233bbc7ad9aff9b7882c2d63db6f22674f793
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Wed Feb 18 10:36:03 2026 +0100

    fix(ci): skip stable Docker tags in check-tags during auto-publish (#2759)
---
 .github/workflows/publish.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 31ee6a3d8..eb6c3324b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -468,6 +468,17 @@ jobs:
               continue
             fi
 
+            # In auto-publish mode, stable Docker versions only get :edge tag.
+            # Versioned git tags require manual publish (workflow_dispatch).
+            REGISTRY=$(_jq '.registry')
+            if [ "${{ inputs.create_edge_docker_tag }}" = "true" ] && [ 
"$REGISTRY" = "dockerhub" ]; then
+              if [[ ! "$VERSION" =~ -(edge|rc) ]]; then
+                echo "⏭️ $NAME: Stable Docker version in auto-publish mode, 
tag will be skipped"
+                echo "| $NAME | $VERSION | $TAG | ⏭️ Stable (manual publish 
only) |" >> $GITHUB_STEP_SUMMARY
+                continue
+              fi
+            fi
+
             if [ "$VERSION" = "ERROR" ] || [ "$TAG" = "ERROR" ]; then
               echo "❌ Failed to extract version/tag for $NAME"
               echo "| $NAME | ERROR | ERROR | ❌ Failed to extract |" >> 
$GITHUB_STEP_SUMMARY

Reply via email to