fix: pull base image on deploy and fix registry prefix default
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m16s
CI / docker (push) Successful in 1m8s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 38s

The PULL_IMAGE deploy stage was a no-op — Docker only pulls on create
if the image is missing entirely, not when a newer version exists.
DeploymentExecutor now calls orchestrator.pullImage() to fetch the
latest base image from the registry before creating containers.

Also fixes the default base image from 'cameleer-runtime-base:latest'
(local-only name) to the fully qualified registry path
'gitea.siegeln.net/cameleer/cameleer-runtime-base:latest'.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-15 11:29:58 +02:00
parent fd806b9f2d
commit 1077293343
4 changed files with 19 additions and 3 deletions

View File

@@ -4,6 +4,8 @@ import java.util.stream.Stream;
public interface RuntimeOrchestrator {
boolean isEnabled();
/** Pull the latest version of a container image from the registry. */
default void pullImage(String image) {}
String startContainer(ContainerRequest request);
void stopContainer(String containerId);
void removeContainer(String containerId);