From 101181893e19af72c5d1ba723da49b915857563b Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 19 Dec 2025 11:18:28 +0100 Subject: [PATCH] feat: pull image gitlab ci/cd --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b79f90..a833361 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,7 +126,7 @@ deploy-to-portainer: JSON_PAYLOAD=$(jq -n \ --arg id "$STACK_ID" \ --rawfile content "$STACK_FILE_PATH" \ - '{id: ($id|tonumber), stackFileContent: $content, prune: true}') + '{id: ($id|tonumber), stackFileContent: $content, prune: true, pullImage: true}') UPDATE_RESP=$(curl -s -w "HTTPSTATUS:%{http_code}" \ -X PUT "$PORTAINER_URL/api/stacks/$STACK_ID?endpointId=$PORTAINER_ENDPOINT_ID" \