fix(agent): pin state migration to manifest image
Heimdall Gitea / Build and tests (pull_request) Failing after 1s
Heimdall Gitea / Publish versioned release (pull_request) Skipped

This commit is contained in:
Arnaud Dartois committed 2026-10-22 19:17:30 +02:00
1 parent 1129cc9157
commit e757c2f846
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ services:
# Migrate existing root-owned state before starting the non-root agent.
agent-state-init:
image: eltruncho/heimdall-agent:${AGENT_IMAGE_TAG:-latest}
image: ${AGENT_IMAGE_REFERENCE:?Set AGENT_IMAGE_REFERENCE from the Central agent image manifest}
user: "0:0"
entrypoint: ["chown", "-R", "1654:1654", "/state"]
volumes:
@@ -106,7 +106,7 @@
start_period: 15s
agent-state-init:
image: eltruncho/heimdall-agent:latest
image: {{_agentImageReference}}
user: "0:0"
entrypoint: ["chown", "-R", "1654:1654", "/state"]
volumes: