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 <noreply@anthropic.com>
This commit is contained in:
Martin Maslyankov
2026-04-03 05:33:50 +03:00
parent 6df68e0495
commit 168efb06d5

View File

@@ -58,6 +58,7 @@ jobs:
- name: Compute image tag - name: Compute image tag
id: tag id: tag
shell: bash
run: | run: |
SHORT_SHA="${{ gitea.sha }}" SHORT_SHA="${{ gitea.sha }}"
SHORT_SHA="${SHORT_SHA:0:7}" SHORT_SHA="${SHORT_SHA:0:7}"