okumin commented on code in PR #6387:
URL: https://github.com/apache/hive/pull/6387#discussion_r3039126768
##########
.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:
I believe it is better since we probably won't need 4.3.0-SNAPSHOT 1 year
later (we're likely developing Hive 4.6). Let me check the configuration and
give it a try.
--
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]