fix: tech-debt: edge service missing pull_policy: build in --build mode generator (#914)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f93600a1cf
commit
f53c3690b8
1 changed files with 1 additions and 1 deletions
|
|
@ -661,7 +661,7 @@ COMPOSEEOF
|
||||||
if [ "$use_build" = true ]; then
|
if [ "$use_build" = true ]; then
|
||||||
sed -i 's|^\( agents:\)|\1|' "$compose_file"
|
sed -i 's|^\( agents:\)|\1|' "$compose_file"
|
||||||
sed -i '/^ image: ghcr\.io\/disinto\/agents:/{s|image: ghcr\.io/disinto/agents:.*|build:\n context: .\n dockerfile: docker/agents/Dockerfile\n pull_policy: build|}' "$compose_file"
|
sed -i '/^ image: ghcr\.io\/disinto\/agents:/{s|image: ghcr\.io/disinto/agents:.*|build:\n context: .\n dockerfile: docker/agents/Dockerfile\n pull_policy: build|}' "$compose_file"
|
||||||
sed -i '/^ image: ghcr\.io\/disinto\/edge:/{s|image: ghcr\.io/disinto/edge:.*|build: ./docker/edge|}' "$compose_file"
|
sed -i '/^ image: ghcr\.io\/disinto\/edge:/{s|image: ghcr\.io/disinto/edge:.*|build: ./docker/edge\n pull_policy: build|}' "$compose_file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Created: ${compose_file}"
|
echo "Created: ${compose_file}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue