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

milenkovicm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git


The following commit(s) were added to refs/heads/main by this push:
     new c546dd7a release docker on release tag (not only rc) (#1264)
c546dd7a is described below

commit c546dd7acef1355d3ebc516e645d8f3a4a2e1674
Author: Marko Milenković <milenkov...@users.noreply.github.com>
AuthorDate: Wed May 28 09:47:16 2025 +0100

    release docker on release tag (not only rc) (#1264)
---
 .github/workflows/docker.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index f77f1e71..3a0825fd 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -36,9 +36,9 @@ jobs:
           docker tag apache/datafusion-ballista-executor:latest 
ghcr.io/apache/datafusion-ballista-executor:latest
           docker tag apache/datafusion-ballista-scheduler:latest 
ghcr.io/apache/datafusion-ballista-scheduler:latest
 
-          # release dockers only when there is a tag 
+          # release dockers only when there is a release tag 
           export DOCKER_TAG="$(git describe --exact-match --tags $(git log -n1 
--pretty='%h') || echo '')"
-          if [[ $DOCKER_TAG =~ ^[0-9\.]+-rc[0-9]+$ ]]
+          if [[ $DOCKER_TAG =~ ^[0-9\.]+(-rc[0-9]+)?$ ]]
           then
             
             docker login ghcr.io -u $DOCKER_USER -p "$DOCKER_PASS"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org
For additional commands, e-mail: commits-h...@datafusion.apache.org

Reply via email to