From cd7ea0b47b2ba1047695989ae5a23a8ddf673f66 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sat, 18 Apr 2026 03:57:50 +0200 Subject: [PATCH] fix(ci): override alpine/helm entrypoint so shell wrapper runs The alpine/helm:4.1 image has 'helm' as ENTRYPOINT. GitLab CI wraps step_script in sh, which the container resolves to 'helm sh ...', failing with 'unknown command sh for helm'. Setting entrypoint: [""] lets GitLab's sh wrapper execute normally before invoking helm. --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e846ccf..9e43d7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,9 @@ backend:docker: backend:deploy: stage: deploy - image: alpine/helm:4.1 + image: + name: alpine/helm:4.1 + entrypoint: [""] before_script: - mkdir -p ~/.kube - echo "$KUBECONFIG_DATA" > ~/.kube/config @@ -74,7 +76,9 @@ web:docker: web:deploy: stage: deploy - image: alpine/helm:4.1 + image: + name: alpine/helm:4.1 + entrypoint: [""] before_script: - mkdir -p ~/.kube - echo "$KUBECONFIG_DATA" > ~/.kube/config