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

lewismc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika-helm.git


The following commit(s) were added to refs/heads/main by this push:
     new beb12f2  TIKA-4660 Add automated Tika Docker image version bump 
workflow and upgrade all GitHub Actions (#29)
beb12f2 is described below

commit beb12f2f8864729e443df7f14acdbfb1b98a41f2
Author: Lewis John McGibbney <[email protected]>
AuthorDate: Sun Feb 15 18:50:35 2026 -0800

    TIKA-4660 Add automated Tika Docker image version bump workflow and upgrade 
all GitHub Actions (#29)
---
 .github/workflows/update-tika-version.yaml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/update-tika-version.yaml 
b/.github/workflows/update-tika-version.yaml
index 1686c08..8b6e348 100644
--- a/.github/workflows/update-tika-version.yaml
+++ b/.github/workflows/update-tika-version.yaml
@@ -41,8 +41,15 @@ jobs:
           if [ -n "${{ github.event.inputs.tag }}" ]; then
             NEW_TAG="${{ github.event.inputs.tag }}"
           else
-            NEW_TAG=$(curl -s 
"https://hub.docker.com/v2/repositories/apache/tika/tags?page_size=10&ordering=-last_updated";
 \
-              | jq -r '.results[].name' \
+            RESPONSE=$(curl -sf 
"https://hub.docker.com/v2/repositories/apache/tika/tags?page_size=10&ordering=last_updated";)
 || {
+              echo "::error::Failed to fetch tags from DockerHub API"
+              exit 1
+            }
+
+            ALL_TAGS=$(echo "$RESPONSE" | jq -r '.results[].name')
+            echo "Tags returned by DockerHub: $ALL_TAGS"
+
+            NEW_TAG=$(echo "$ALL_TAGS" \
               | grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+-full$' \
               | sort -V \
               | tail -1)

Reply via email to