From 168efb06d5b95157b47a65b2a7140b81619d1096 Mon Sep 17 00:00:00 2001 From: Martin Maslyankov Date: Fri, 3 Apr 2026 05:33:50 +0300 Subject: [PATCH] fix: use bash shell for string slicing in image tag computation The pinned container image uses sh which doesn't support bash string slicing syntax (${var:0:7}). Explicitly set shell: bash to ensure compatibility. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/build-push.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index f66d89e..5464ffc 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -58,6 +58,7 @@ jobs: - name: Compute image tag id: tag + shell: bash run: | SHORT_SHA="${{ gitea.sha }}" SHORT_SHA="${SHORT_SHA:0:7}"