deniskuzZ commented on code in PR #6387:
URL: https://github.com/apache/hive/pull/6387#discussion_r3037264504


##########
.github/workflows/docker-images.yml:
##########
@@ -87,10 +89,18 @@ jobs:
       - name: Prepare common environment variables
         run: |
           echo "namespace=${{ vars.DOCKER_NAMESPACE || 'apache' }}" >> 
$GITHUB_ENV
-          echo "tag=$HIVE_VERSION" | awk '{print tolower($0)}' >> $GITHUB_ENV
+          echo "tag=$HIVE_VERSION" >> $GITHUB_ENV
+
+      - name: Validate nightly tag suffix
+        if: github.event_name == 'schedule'
+        run: |
+          if [[ "$tag" != *-SNAPSHOT ]]; then
+            echo "Nightly image tag must end with -SNAPSHOT, got: $tag"
+            exit 1
+          fi

Review Comment:
   not sure we need version there, how about
   
   ````
   apache/hive:4.2.0                        # Hive release
   apache/hive:nightly                      # Hive nightly build
   apache/hive:standalone-metastore-4.2.0   # HMS release
   apache/hive:standalone-metastore-nightly # HMS nightly build
   ````
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to